Skip to content

Commit

Permalink
fix: mini-toc font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Bagautdinov committed Sep 12, 2024
1 parent 27b7ee9 commit a22a3e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/MiniToc/MiniToc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
&__sections {
$mobileMiniTocOffset: 2 * $verticalPadding + $titleHeight + $titleMargin;

height: fit-content; // ?
@include text-size(body-2);

max-height: calc(
100vh - var(--dc-header-height, #{$headerHeight}) - var(
--dc-subnavigation-height,
Expand Down

0 comments on commit a22a3e1

Please sign in to comment.