Update modal max-height
This commit is contained in:
parent
93d279e053
commit
64184f49f7
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user