Skip to content

Commit 013d7cb

Browse files
committed
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.
1 parent e347e59 commit 013d7cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sphinx/themes/basic/static/basic.css.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ a:visited {
230230
color: #551A8B;
231231
}
232232

233+
a {
234+
overflow-wrap: break-word;
235+
}
236+
233237
h1:hover > a.headerlink,
234238
h2:hover > a.headerlink,
235239
h3:hover > a.headerlink,

0 commit comments

Comments
 (0)