Skip to content

Conversation

barjin
Copy link
Contributor

@barjin barjin commented Sep 6, 2024

Sets flex-wrap: nowrap to allow for "overflowing" TOC when too wide.

Swizzles the TOCItems component into @apify/docs-theme. Uses a hack with ::before pseudoclass to reserve space for the bold TOC items, so the element width doesn't change on selection.

Closes #1188

@barjin barjin requested a review from B4nan September 6, 2024 08:57
@barjin barjin self-assigned this Sep 6, 2024
@github-actions github-actions bot added this to the 97th sprint - Tooling team milestone Sep 6, 2024
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Sep 6, 2024
@barjin barjin merged commit 6b1017c into master Sep 6, 2024
7 checks passed
@barjin barjin deleted the fix/flex-toc branch September 6, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with broken ToC layout

2 participants