mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
Made Explorer height match remaining visible height
This commit is contained in:
parent
697127e8bb
commit
86704bb41d
@ -1,5 +1,12 @@
|
|||||||
@use "../../styles/variables.scss" as *;
|
@use "../../styles/variables.scss" as *;
|
||||||
|
|
||||||
|
.explorer {
|
||||||
|
&.desktop-only,
|
||||||
|
&.tablet-only {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
button#explorer {
|
button#explorer {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
@ -76,6 +83,9 @@ button#explorer {
|
|||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
> #explorer-ul {
|
||||||
|
max-height: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|||||||
@ -188,10 +188,12 @@ a {
|
|||||||
|
|
||||||
& .sidebar.left {
|
& .sidebar.left {
|
||||||
left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
|
left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
|
||||||
|
max-height: calc(100vh - $topSpacing);
|
||||||
@media all and ($desktop) {
|
@media all and ($desktop) {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
@media all and ($mobile) {
|
@media all and ($mobile) {
|
||||||
|
max-height: unset;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: initial;
|
position: initial;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user