-
Notifications
You must be signed in to change notification settings - Fork 339
Improve styling of the Previous / Next buttons #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We could also more completely copy what you did for sphinx-book-theme? (I personally like the layout and styling as you have it there (and in furo ..)) |
Sounds good, i will give it a shot |
@jorisvandenbossche done in the latest push! I also factored out the prevnext stuff into its own little template so that it was easier to reason with |
Thanks! I tweaked the css a bit to have it only underline the title (underlying the icon gives a bit strange effect I think). And made the space between the two lines a bit smaller |
baaea67
to
92948e1
Compare
I love it, thanks! +1 from me |
Co-authored-by: Joris Van den Bossche <[email protected]>
This makes the previous / next buttons align with the arrows when they span multiple lines. It also makes them an explicit HTML element rather than using a CSS rule to put in the text. This is probably easiest shown by example.
current behavior:
this PR:
closes #469