From b2d61af6200bf8281e5466a183eae491440f4c1a Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Mon, 24 Apr 2017 18:09:27 +0200 Subject: [PATCH 1/1] fix unwanted horizontal scrollbar --- apps/catalogue/templates/catalogue/base.html | 2 +- apps/catalogue/templates/catalogue/book_text.html | 2 +- redakcja/static/css/base.css | 6 ++++++ redakcja/templates/main.html | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/catalogue/templates/catalogue/base.html b/apps/catalogue/templates/catalogue/base.html index 8e1c92e9..a08c69bc 100644 --- a/apps/catalogue/templates/catalogue/base.html +++ b/apps/catalogue/templates/catalogue/base.html @@ -40,7 +40,7 @@ -
+
{% block content %} diff --git a/apps/catalogue/templates/catalogue/book_text.html b/apps/catalogue/templates/catalogue/book_text.html index 453157ee..c063fa66 100644 --- a/apps/catalogue/templates/catalogue/book_text.html +++ b/apps/catalogue/templates/catalogue/book_text.html @@ -59,7 +59,7 @@
{% if preview or can_edit and revision == published_revision %} -
+

{% if specific %} diff --git a/redakcja/static/css/base.css b/redakcja/static/css/base.css index 288d09b0..ee3e78e5 100644 --- a/redakcja/static/css/base.css +++ b/redakcja/static/css/base.css @@ -13,6 +13,12 @@ color: #333; } +.jumbotron { + margin-top: -20px; + margin-left: -15px; + margin-right: -15px; + border-radius: 0 !important; +} diff --git a/redakcja/templates/main.html b/redakcja/templates/main.html index 7d28701e..51ef989c 100644 --- a/redakcja/templates/main.html +++ b/redakcja/templates/main.html @@ -6,7 +6,7 @@ {% block content %} -

+
-- 2.20.1