mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-02 21:14:27 +00:00
Fix modal scroll behaviour
The previous behaviour didn’t allow scrolling of the modal itself through the scroll bar because the scrollbar was hidden behind the backdrop. Fixes #1642
This commit is contained in:
1 parent
89679c1b6a
commit
2dabb6a1fc
1 file changed
+10
-2
@@ -1130,14 +1130,22 @@ canvas.tc-edit-bitmapeditor {
|
||||
.tc-modal-body {
|
||||
overflow-y: auto;
|
||||
max-height: 400px;
|
||||
max-height: 60vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 55em) {
|
||||
.tc-modal {
|
||||
position: relative;
|
||||
position: fixed;
|
||||
top: 2em;
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
margin: 30px auto;
|
||||
}
|
||||
|
||||
.tc-modal-body {
|
||||
overflow-y: auto;
|
||||
max-height: 400px;
|
||||
max-height: 60vh;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user