diff --git a/quartz/components/styles/toc.scss b/quartz/components/styles/toc.scss index 3b2b6b32a..8d865fb36 100644 --- a/quartz/components/styles/toc.scss +++ b/quartz/components/styles/toc.scss @@ -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%; + } } }