Skip to content

Commit

Permalink
fix(docs): updated width on table of contents
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 mentioed in patternfly#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 patternfly#4178
  • Loading branch information
rebeccaalpert committed Aug 19, 2024
1 parent d9af6ae commit 5e257e4
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: 266px;
max-height: calc(100vh - 76px);
overflow-y: auto;
/* Hide TOC scrollbar IE, Edge & Firefox */
Expand Down

0 comments on commit 5e257e4

Please sign in to comment.