diff --git a/CHANGES.rst b/CHANGES.rst index 3a90d66f08d..e9d8394381d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -134,6 +134,8 @@ Bugs fixed Patch by Jeremy Maitin-Shepard. * #13939: LaTeX: page break can separate admonition title from contents. Patch by Jean-François B. +* #13989: Allow anchors to wrap anywhere. + Patch by Nadav Tasher. Testing diff --git a/sphinx/themes/basic/static/basic.css.jinja b/sphinx/themes/basic/static/basic.css.jinja index d2411760b18..c48c04614b1 100644 --- a/sphinx/themes/basic/static/basic.css.jinja +++ b/sphinx/themes/basic/static/basic.css.jinja @@ -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,