Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2018-01-04 22:13:29 +0300
committerTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2018-01-06 18:52:12 +0300
commitbf29ffb284f74b99adbc64d12b58ef4cef123af6 (patch)
treeaad2d0525da202b0f14d8afbc5f622f324d7e2a7 /sphinx/themes/classic/static/classic.css_t
parentc892fe98f7a311dc51340f8d98e63d9790b7f820 (diff)
#4246: Limit width of text body for all themes
Diffstat (limited to 'sphinx/themes/classic/static/classic.css_t')
-rw-r--r--sphinx/themes/classic/static/classic.css_t4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/themes/classic/static/classic.css_t b/sphinx/themes/classic/static/classic.css_t
index a84ef8696..9abdae6f4 100644
--- a/sphinx/themes/classic/static/classic.css_t
+++ b/sphinx/themes/classic/static/classic.css_t
@@ -32,7 +32,7 @@ div.documentwrapper {
}
div.bodywrapper {
- margin: 0 0 0 {{ theme_sidebarwidth|toint }}px;
+ margin: 0 0 0 {{ theme_sidebarwidth|todim }};
}
div.body {
@@ -43,7 +43,7 @@ div.body {
{%- if theme_rightsidebar|tobool %}
div.bodywrapper {
- margin: 0 {{ theme_sidebarwidth|toint }}px 0 0;
+ margin: 0 {{ theme_sidebarwidth|todim }} 0 0;
}
{%- endif %}