mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#4246: Limit width of text body for all themes
This commit is contained in:
@@ -49,7 +49,7 @@ div.sphinxsidebarwrapper {
|
||||
|
||||
div.sphinxsidebar {
|
||||
float: left;
|
||||
width: {{ theme_sidebarwidth|toint }}px;
|
||||
width: {{ theme_sidebarwidth|todim }};
|
||||
margin-left: -100%;
|
||||
font-size: 90%;
|
||||
word-wrap: break-word;
|
||||
@@ -199,6 +199,11 @@ table.modindextable td {
|
||||
|
||||
/* -- general body styles --------------------------------------------------- */
|
||||
|
||||
div.body {
|
||||
min-width: {{ theme_body_min_width|todim }};
|
||||
max-width: {{ theme_body_max_width|todim }};
|
||||
}
|
||||
|
||||
div.body p, div.body dd, div.body li, div.body blockquote {
|
||||
-moz-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
|
||||
Reference in New Issue
Block a user