diff options
Diffstat (limited to 'sass/include/_toc.scss')
| -rw-r--r-- | sass/include/_toc.scss | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sass/include/_toc.scss b/sass/include/_toc.scss index 5d37a64..b3ad2c4 100644 --- a/sass/include/_toc.scss +++ b/sass/include/_toc.scss @@ -1,3 +1,9 @@ +/** + * TOC - Table of Contents + * used as a page index, recent posts block + */ +@use "../variables" as variables; + main { .toc { max-width: 15rem; @@ -35,8 +41,8 @@ main { max-height: 100vh; overflow: auto; } -@if map-get($breakpoints, "md") { - @media (max-width: map-get($breakpoints, "md")) { +@if map-get(variables.$breakpoints, "md") { + @media (max-width: map-get(variables.$breakpoints, "md")) { .toc { display: none; } |
