Skip to content

Commit b21c65d

Browse files
committed
Update AlgoScreen.css
1 parent 6da54bf commit b21c65d

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

src/css/AlgoScreen.css

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -196,23 +196,24 @@ em {
196196
right: 20px;
197197
top: 10px;
198198
width: 20%;
199-
max-height: 90%;
199+
height: 90%;
200200
}
201201

202202
.VisualizationMainPage .bigo {
203203
border-collapse: collapse; /* Ensures borders are not doubled */
204-
position: absolute;
205-
min-width: 35%;
204+
position: absolute;
205+
min-width: 35%;
206206
}
207207

208-
.bigo th, .bigo td {
209-
padding: 5px;
208+
.bigo th,
209+
.bigo td {
210+
padding: 5px;
210211
min-width: 50px;
211212
color: black;
212213
border: 1px solid gray; /* Adds border to table cells */
213214
}
214215

215-
.bigo table {
216+
.bigo table {
216217
border-collapse: collapse;
217218
width: 100%;
218219
}
@@ -228,17 +229,18 @@ em {
228229
}
229230

230231
.VisualizationMainPage .modal-content {
231-
padding: 15px 30px 15px 30px;
232-
height: 100%;
233-
border-radius: 20px;
234-
background-color: var(--control);
235-
transition: all 0.4s ease 0s;
236-
box-shadow: 0px 0px 5px var(--shadow);
232+
max-height: 100%;
233+
overflow-y: auto; /* Adds a vertical scrollbar when content exceeds max height */
234+
padding: 15px 30px 15px 30px;
235+
border-radius: 20px;
236+
background-color: var(--control);
237+
transition: all 0.4s ease 0s;
238+
box-shadow: 0px 0px 5px var(--shadow);
237239
}
238240

239241
.VisualizationMainPage .modal-content ul {
240-
list-style-type: none; /* Makes bullet points invisible */
241-
padding-left: 0; /* Removes default padding */
242+
list-style-type: none; /* Makes bullet points invisible */
243+
padding-left: 0; /* Removes default padding */
242244
}
243245

244246
.VisualizationMainPage .modal-content li {

0 commit comments

Comments
 (0)