diff options
author | Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> | 2018-01-04 22:13:29 +0300 |
---|---|---|
committer | Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> | 2018-01-06 18:52:12 +0300 |
commit | bf29ffb284f74b99adbc64d12b58ef4cef123af6 (patch) | |
tree | aad2d0525da202b0f14d8afbc5f622f324d7e2a7 /sphinx/themes/classic/static/classic.css_t | |
parent | c892fe98f7a311dc51340f8d98e63d9790b7f820 (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_t | 4 |
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 %} |