WIP fix for ul/ol .overflow

This commit is contained in:
saberzero1 2024-09-25 00:10:50 +02:00
parent b18df26347
commit 20f7422922
No known key found for this signature in database
GPG Key ID: 41AEE99107640F10
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
.explorer {
&.desktop-only {
overflow-y: auto;
overflow-y: hidden;
}
&:after {
pointer-events: none;
@ -62,7 +62,8 @@ button#explorer {
#explorer-content {
list-style: none;
overflow: hidden;
max-height: none;
overflow-y: auto;
max-height: calc(100% - 28px);
transition:
max-height 0.35s ease,
visibility 0s linear 0s;

View File

@ -538,6 +538,8 @@ video {
div:has(> .overflow) {
position: relative;
overflow-y: auto;
max-height: 100%;
}
ul.overflow,
@ -552,7 +554,10 @@ ol.overflow {
& > li:last-of-type {
margin-bottom: 30px;
}
}
*:has(> * > ul.overflow),
*:has(> * > ol.overflow) {
&:after {
pointer-events: none;
content: "";