Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow anchors to wrap anywhere
Anchors with very long unbreakable links cause pages to be
horizontally scrollable on mobile.

Fix this by allowing anchors to break words.
  • Loading branch information
NadavTasher committed Oct 27, 2025
commit 013d7cb2a8e28eccd585df3ee8541867fb32b4a8
4 changes: 4 additions & 0 deletions sphinx/themes/basic/static/basic.css.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ a:visited {
color: #551A8B;
}

a {
overflow-wrap: break-word;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
Expand Down