From b7d83e786f8f1ffb3ff5aec959c2fab28004e521 Mon Sep 17 00:00:00 2001 From: Joel Macht Date: Wed, 8 Jun 2016 21:27:10 +0200 Subject: [PATCH] Fix linebreak on tags, add spacing and remove commas (Fixes #2147) --- AUTHORS | 1 + openslides/core/static/css/app.css | 8 ++++++++ .../motions/static/templates/motions/motion-list.html | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 061fe67cc..3865bd6b0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -21,3 +21,4 @@ Authors of OpenSlides in chronological order of first contribution: Erik Steenman Sean Engelhardt Maximilian Krambach + Joel Macht diff --git a/openslides/core/static/css/app.css b/openslides/core/static/css/app.css index 96ca067aa..06fc108ad 100644 --- a/openslides/core/static/css/app.css +++ b/openslides/core/static/css/app.css @@ -714,6 +714,14 @@ img { margin-bottom: 0; } + +/* override booststrap's label class to fix linebreak and add spacing */ +.label { + display: inline-block; + padding: .3em .6em; + margin-right: .2em; +} + /* for angular-csv-import form */ .import { margin-left: 15px; diff --git a/openslides/motions/static/templates/motions/motion-list.html b/openslides/motions/static/templates/motions/motion-list.html index 2427ff46b..8399ac0e7 100644 --- a/openslides/motions/static/templates/motions/motion-list.html +++ b/openslides/motions/static/templates/motions/motion-list.html @@ -163,7 +163,7 @@ {{ motion.getTitle() }} - {{ tag.name }}{{$last ? '' : ', '}} + {{ tag.name }}