From 7b014d64ea899f7739c69c4770702c71e35e87ca Mon Sep 17 00:00:00 2001 From: Venkat Date: Wed, 13 May 2020 22:10:36 +0200 Subject: [PATCH] Add overflow-wrap for sidebar By default overflow is handled for words separted by space. This does not work if words are separated by other separaters such as underscore or hyphen leading to sidebar headings and content overlap. --- sphinx_bootstrap_theme/bootstrap/static/bootstrap-sphinx.css_t | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx_bootstrap_theme/bootstrap/static/bootstrap-sphinx.css_t b/sphinx_bootstrap_theme/bootstrap/static/bootstrap-sphinx.css_t index eafb2807..faf6584d 100644 --- a/sphinx_bootstrap_theme/bootstrap/static/bootstrap-sphinx.css_t +++ b/sphinx_bootstrap_theme/bootstrap/static/bootstrap-sphinx.css_t @@ -170,6 +170,7 @@ table.field-list { text-shadow: 0 1px 0 #fff; background-color: #f7f5fa; border-radius: 5px; + overflow-wrap: break-word; } /* All levels of nav */