fix: on docs pages ensure the toc is always a fixed width#56
Merged
Conversation
Before when navigating between pages, the ToC would sometimes shift a few pixels. This sets it to a fixed width so it stops moving around.
Just sets an npmMinimalAgeGate which is a measure to wait a few days before a package version is considered safer to install.
After discussing and putting this to a vote with my peers, I decided to remove the word "various" from the tagline.
When contributing to this, it's not technically required but it's strongly recommended to enable corepack to ensure the package manager version remains consistent.
Updates serveral dependencies to their latest version and dedupes. I also remove the "serve" dependency which was added during the a11y patches. However, I realize now docusaurus already includes it's own command to serve the production build, so we don't need an additional package for that.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes an issue we've had on SVGO.dev for quite some time! The ToC is finally fixed with. ^-^'
Chores
On the side, I also included several chores in this PR, each of them being rather small. You can get more context on each commit message.