From 70de0a6e4bdc2310090ef53e1582e85d75aa8bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Tue, 21 Mar 2017 20:47:58 +0100 Subject: [PATCH] Hide change recommendation diff-box in diff version for normal users. --- openslides/core/static/css/app.css | 7 +++++-- .../static/templates/motions/motion-detail/view-diff.html | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/openslides/core/static/css/app.css b/openslides/core/static/css/app.css index 2338f9f4b..befe406b0 100644 --- a/openslides/core/static/css/app.css +++ b/openslides/core/static/css/app.css @@ -657,12 +657,15 @@ img { border: solid 1px #eee; border-radius: 3px; margin-bottom: 0; - margin-top: -25px; + margin-top: -24px; padding-top: 0; padding-right: 155px; } +.diff-box-transparent { + margin-top: -24px; +} .motion-text-with-diffs .original-text { - min-height: 30px; // Spacer between .diff-box, in case .original-text is empty + min-height: 30px; /* Spacer between .diff-box, in case .original-text is empty */ } .motion-text-with-diffs .original-text ul:last-child { padding-bottom: 16px; diff --git a/openslides/motions/static/templates/motions/motion-detail/view-diff.html b/openslides/motions/static/templates/motions/motion-detail/view-diff.html index 448825d76..ea4dd2fc3 100644 --- a/openslides/motions/static/templates/motions/motion-detail/view-diff.html +++ b/openslides/motions/static/templates/motions/motion-detail/view-diff.html @@ -6,7 +6,8 @@
-
+