-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Update the styling of the TOC (#14520)
* [docs] Update the styling of the TOC (Just scratching an itch 😄) * Update the TOC on click of #, update the URL * no hash for title * Hide subitems for sections other than current * new selection strategy * fix duplicate id * change offset * move styles back * Collapse transition * Revert the use of - * Refactor styles * Revert "Collapse transition" This reverts commit 6e8fd97. * don't hide sub-headings * prettier * more subtle styling * no smooth scrolling * fix scroll position on page change * Don't use state for tracking clicked links * tweak the intendation & spacing * prettier * small change
- Loading branch information
1 parent
41ebd30
commit 19aa8ad
Showing
5 changed files
with
91 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters