fix(layout): properly apply desktop-only to toc component

This commit is contained in:
keonly 2024-10-10 21:17:42 +09:00
parent 0d1f15d37c
commit 1609ce5d02

View File

@ -1,9 +1,13 @@
@use "../../styles/variables.scss" as *;
.toc { .toc {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
&.desktop-only { &.desktop-only {
display: flex; @media all and not ($mobile) {
max-height: 40%; display: flex;
max-height: 40%;
}
} }
} }