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

View File

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