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 {
display: flex;
flex-direction: column;
&.desktop-only {
display: flex;
max-height: 40%;
@media all and not ($mobile) {
display: flex;
max-height: 40%;
}
}
}