Skip to content

Commit

Permalink
fix(docs): updated width on table of contents (#4202)
Browse files Browse the repository at this point in the history
It looks like some of the widths changed since v5. This caused flex to stop wrapping the table of contents at the viewports mentioned in #4178. The table of contents was still present, but just at the bottom of the screen since the order was 1 (the main content is ordered at 0). Dropping down to this width seems to allow wrapping as expected again.

Should fix #4178
  • Loading branch information
rebeccaalpert authored Sep 10, 2024
1 parent c2104a3 commit 66eb44a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

@media (min-width: 1451px) {
.ws-toc {
width: 280px;
width: 260px;
max-height: calc(100vh - 76px);
overflow-y: auto;
/* Hide TOC scrollbar IE, Edge & Firefox */
Expand Down

0 comments on commit 66eb44a

Please sign in to comment.