Repository navigation
Conversation
hwhsu1231
commented
Sep 1, 2026
Contributor
- Turn prev/next links into bordered, rounded card-style buttons
- Show "Previous"/"Next" label above the page title
- Use accent-a9 for the hover border color
- Keep single prev/next card at half width (prev left, next right)
- Stack the cards vertically via a container query on page width
- Wrap long titles instead of overflowing on narrow widths
- Turn prev/next links into bordered, rounded card-style buttons - Show "Previous"/"Next" label above the page title - Use accent-a9 for the hover border color - Keep single prev/next card at half width (prev left, next right) - Stack the cards vertically via a container query on page width - Wrap long titles instead of overflowing on narrow widths
Contributor
Author
Owner
|
Why using a card style? The card style is not pretty. |
Contributor
Author
In fact, whether it was the previous PR #148 for restyling the globaltoc/localtoc or this PR for restyling the prev/next navigation, both share a common goal: to expand and clarify the clickable button area. In addition, using a card style allows the layout to stack vertically on narrower screens, such as mobile devices. This helps avoid excessive line breaks in the prev/next text as much as possible. For example:
|
Contributor
Author
Contributor
Author
Contributor
Author
|
@lepture I think this PR can be put on hold for now—no rush to decide on it right away. |
This branch has not been deployed
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.






