Update modal max-height

This commit is contained in:
Tetrakern 2024-10-18 19:54:29 +02:00
parent 93d279e053
commit 64184f49f7
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -208,7 +208,7 @@
padding: 0; padding: 0;
border: none; border: none;
border-radius: min(20px, var(--layout-border-radius-large)); border-radius: min(20px, var(--layout-border-radius-large));
max-height: calc(100% - 20px); max-height: calc(100% - 32px);
width: var(--modal-width, 300px); width: var(--modal-width, 300px);
max-width: calc(100vw - 20px); max-width: calc(100vw - 20px);
box-shadow: var(--modal-box-shadow, var(--box-shadow-xl)); box-shadow: var(--modal-box-shadow, var(--box-shadow-xl));
@ -263,7 +263,7 @@
&._chapter-index { &._chapter-index {
--modal-width: 400px; --modal-width: 400px;
max-height: 600px; max-height: min(calc(100% - 32px), 600px);
} }
} }