mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-31 14:23:01 -08: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:
parent
89679c1b6a
commit
2dabb6a1fc
1 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue