From 6daf262c0e13f5febd252e2d98f7c1dd10083932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Thu, 8 Mar 2018 10:05:28 +0100 Subject: [PATCH] Some minor CSS improvements. - Projector: Use same line height in list elements as in content. - Projector: Reduce indentation of ul/ol lists. - Projector: Add more space between line numbers and motion text, - Agenda list: Remove padding-left in item list view. --- openslides/agenda/static/templates/agenda/item-list.html | 3 +-- openslides/core/static/css/core/_projector.scss | 6 +----- openslides/motions/static/css/motions/_projector.scss | 5 ++++- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/openslides/agenda/static/templates/agenda/item-list.html b/openslides/agenda/static/templates/agenda/item-list.html index 6d8fa955c..7260d3f41 100644 --- a/openslides/agenda/static/templates/agenda/item-list.html +++ b/openslides/agenda/static/templates/agenda/item-list.html @@ -310,8 +310,7 @@ -
+
List of speakers · diff --git a/openslides/core/static/css/core/_projector.scss b/openslides/core/static/css/core/_projector.scss index 6feb644a8..0f332c5ed 100644 --- a/openslides/core/static/css/core/_projector.scss +++ b/openslides/core/static/css/core/_projector.scss @@ -38,11 +38,7 @@ h3 { } ul, ol { - margin: 0 0 10px 2em; -} - -li { - line-height: normal; + margin: 0 0 10px 0; } hr { diff --git a/openslides/motions/static/css/motions/_projector.scss b/openslides/motions/static/css/motions/_projector.scss index aff2c19b7..9ae697338 100644 --- a/openslides/motions/static/css/motions/_projector.scss +++ b/openslides/motions/static/css/motions/_projector.scss @@ -29,9 +29,12 @@ p.os-split-after { } .motion-text.line-numbers-outside { padding-left: 0; - margin-left: 25px; + margin-left: 35px; position: relative; } +.motion-text.line-numbers-outside .os-line-number { + left: -33px; +} .motion-text.line-numbers-outside .os-line-number:after { content: attr(data-line-number); position: absolute;