"prev-next-bottom" improper display.
See original GitHub issueDescribe the bug
The buttons at the bottom of each page for the next and the previous pages will sometimes get mushed to the left of the page and clip into the page footer.
To Reproduce
Steps to reproduce the behavior:
- For some page in the book, make the title of the next page so long that it wraps inside the next page button.
- Make the title of the previous page short so it won’t wrap.
- See how, for the current page, the buttons lose some styles and aren’t properly aligned.
Notice how this also happens if the previous button wraps its text but the next doesn’t
Expected behavior
Despite either the previous page or next page buttons wrapping their text, the buttons should display with their respective anchor styles and not clip into the page footer.
Repo.
Example
Improper:
Proper:
Environment
Github-Workflow ubuntu-latest environment.
- Python Version: 3.7
- Package versions or output of
jupyter-book --version
:
Jupyter Book: 0.8.3
MyST-NB: 0.10.1
Sphinx Book Theme: 0.0.38
MyST-Parser: 0.12.10
Jupyter-Cache: 0.4.1
NbClient: 0.5.1
- Operating System: Ubuntu-latest, though this also happens when building on Windows 10.
Additional context
I doubt this is a Sphinx issue. Rather, I’ll look into the jupyter book theme and see what can be done to fix this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Configuration is not working - WordPress.org
... showing prev next bottom. I already use Owl Slider/Carousel 2 for others sites with he same theme Unwind, and works fine. I...
Read more >10. CMDTUX Messages 900-999
905 ERROR: Memory allocation failure ERROR: Memory allocation failure
See Also tmloadcf (1)
906 ERROR: Memory allocation failure ERROR: Memory allocation failure
See Also tmloadcf (1)...
Read more >55-4-110 - Display of registration plates Manner Penalty for ...
Display of registration plates Manner Penalty for violation. (a) The registration plate issued for passenger motor vehicles shall be attached on the rear...
Read more >Bottom - Space Telescope Science Institute
[Top] [Prev] [Next] [Bottom]. Index. A. abbreviations. in this manual F-1. aberrations. FOC images 4-7. absolute photometry.
Read more >CHAPTER 3 Energy Mode and Operation with BatchMin
Second, the atoms defining improper torsions are not specified by the ... Thus the intermediate energies which are listed to the screen ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for posting your fix for this 👍 - I wonder if the improvements that @pradyunsg made in the SBT will also address any of this
Including the following CSS in the
_static/
directory fixes the issue and seems to not break anything else. I’ll keep it as a temporary solution until this gets addressed.I don’t think the
!important
tag is necessary for the width rule but I’ll keep it there just to be safe. This is more of a workaround since it might not fix the issue for REALLY long titles.