You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context
I was trying out sphinx-book-theme v. 0.4.0rc1 when I noticed that long project names/titles did no longer wrap in the left navigation panel.
expectation
The long name/title should wrap like it did in v. 0.3.3
bug
The difference (or bug) seem to be caused by the title-link no longer having the class text-wrap.
v0.4.0rc1
<ahref="#" class="navbar-brand logo"><pclass="title logo__title" style="/*! white-space: normal; */">Very Long and Complicated Project Name</p></a>
v0.3.3
<ahref="#" class="navbar-brand logo text-wrap"><pclass="title logo__title" style="/*! white-space: normal; */">Very Long and Complicated Project Name</p></a>
I am not sure if this is a problem with pydata-sphinx-theme, but I think not since the pydata-sphinx-theme has the project title in an element which is the full width of the page instead of a narrow left panel (https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html).
problem
This is a problem for projects without logos or short names - like books.
This issue #624 is somewhat related, or at least adding the class text-wrap to the left navigation links would likely solve the issue.
Reproduce the bug
Build a project with a long title such as Very Long and Complicated Project Name and version 0.4.0rc1 of this theme. Notice how the title overflows the left navigation panel in the generated HTML-documentation (see the previous screenshot).
List your environment
I did not build with jupyter-book but with Sphinx (on Linux).
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Describe the bug
context
I was trying out sphinx-book-theme v. 0.4.0rc1 when I noticed that long project names/titles did no longer wrap in the left navigation panel.
expectation
The long name/title should wrap like it did in v. 0.3.3
bug
The difference (or bug) seem to be caused by the title-link no longer having the class
text-wrap
.v0.4.0rc1
v0.3.3
I am not sure if this is a problem with pydata-sphinx-theme, but I think not since the pydata-sphinx-theme has the project title in an element which is the full width of the page instead of a narrow left panel (https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html).
problem
This is a problem for projects without logos or short names - like books.
This issue #624 is somewhat related, or at least adding the class
text-wrap
to the left navigation links would likely solve the issue.Reproduce the bug
Build a project with a long title such as
Very Long and Complicated Project Name
and version 0.4.0rc1 of this theme. Notice how the title overflows the left navigation panel in the generated HTML-documentation (see the previous screenshot).List your environment
I did not build with jupyter-book but with Sphinx (on Linux).
Sphinx version: 5.3.0
sphinx-book-theme version: 0.4.0rc1
The text was updated successfully, but these errors were encountered: