mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
CSS: Add overflow-wrap to links inside paragraphs (#1193)
* Add overflow-wrap to links inside paragraphs * Add regression test for very long URLs * Build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193 * build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193 * Build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193 Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
This commit is contained in:
parent
918ca5bed8
commit
ba0dc62448
@ -51,6 +51,10 @@ should be grouped in pairs).``
|
||||
|
||||
If the ``--pep-references`` option was supplied, there should be a live link to PEP 258 here.
|
||||
|
||||
.. regression test for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193
|
||||
|
||||
Very long URLs should be wrapped so lines do not overflow and cause horizontal scrolling: https://www.google.com/search?hl=en&q=very%20long%20url%20example%20of%20a%20url%20that%20is%20extremely%20long%20you%20probably%20want%20to%20avoid%20it%20but%20here%20we%20are
|
||||
|
||||
Math
|
||||
====
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -225,6 +225,9 @@
|
||||
&:hover .headerlink
|
||||
opacity: 1
|
||||
|
||||
// Make links inside paragraphs wrap when they are too long
|
||||
p a
|
||||
overflow-wrap: anywhere
|
||||
// Consistent font sizing for table typography
|
||||
.wy-table
|
||||
th, td
|
||||
|
Loading…
Reference in New Issue
Block a user