mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-31 00:34:05 -06:00
WIP fix for ul/ol .overflow
This commit is contained in:
parent
b18df26347
commit
20f7422922
@ -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;
|
||||||
|
|||||||
@ -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: "";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user