Skip to content

Commit e08f9f3

Browse files
Add scroll to modal
1 parent 440c36a commit e08f9f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

style.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,13 @@ a.unstyled {
246246
padding: 2rem;
247247
border-radius: 12px;
248248
box-shadow: 0 0 20px rgba(0,0,0,0.4);
249-
max-width: 500px;
249+
max-width: 50%;
250250
width: 90%;
251251
position: relative;
252252
animation: slideUp 0.3s ease;
253+
height: 90%;
254+
max-height: 80%;
255+
overflow-y: auto;
253256
}
254257

255258
.close-button {
@@ -279,4 +282,4 @@ a.unstyled {
279282
@keyframes darkMode {
280283
from { background-color: #fff;}
281284
to { background-color: #121212; color: #d1d1d1}
282-
}
285+
}

0 commit comments

Comments
 (0)