diff options
author | Ana Costa <anacosta.xl@gmail.com> | 2022-08-27 23:27:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 23:27:59 +0300 |
commit | ba0dc624480f5299b993a8644ad9d8cbaf6c110f (patch) | |
tree | a7f902e8d33932be635d8a90938abb0e2898cf70 /src/sass/_theme_rst.sass | |
parent | 918ca5bed80e83c19d657ce87402044780293c9c (diff) |
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>
Diffstat (limited to 'src/sass/_theme_rst.sass')
-rw-r--r-- | src/sass/_theme_rst.sass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sass/_theme_rst.sass b/src/sass/_theme_rst.sass index c83f13f..e62eb3e 100644 --- a/src/sass/_theme_rst.sass +++ b/src/sass/_theme_rst.sass @@ -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 |