Skip to content

Commit

Permalink
fix(toc): address horizontal overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Dec 17, 2024
1 parent fb65348 commit 903eb29
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ $hover-transition-timing: 95ms;

.#{$prefix}--toc__navbar-chevron-right-container {
z-index: 2;
inset-inline-end: -$spacing-01;
inset-inline-end: 0;

@include breakpoint(md) {
inset-inline-end: -$spacing-05;
Expand Down Expand Up @@ -417,11 +417,11 @@ $hover-transition-timing: 95ms;
border-block-start: 1px solid $border-subtle-00;
content: '';
inset-block-start: -1px;
inset-inline: calc(-50vw + 50%) 100%;
inset-inline: calc(-50vw + 50% + $spacing-03) 100%;
}

&::after {
inset-inline: 100% calc(-50vw + 50%);
inset-inline: 100% calc(-50vw + 50% + $spacing-03);
}
}

Expand Down

0 comments on commit 903eb29

Please sign in to comment.