From da19c0b4ad97fb9089e6988bb97488e0cf2e6702 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 23 Apr 2019 11:26:36 +0100 Subject: [PATCH] Remove bullets from lists in tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I think this is something we inherited from the Digital Marketplace code. We only use this for organisation settings are the moment, but the list markers are redundant because each item will never wrap onto a new line; it will truncate instead. Still keeps a little sliver of spacing just so it doesn’t look like a paragraph. --- app/assets/stylesheets/components/table.scss | 4 ++++ app/templates/components/table.html | 2 +- .../views/organisations/organisation/settings/index.html | 2 +- tests/app/main/views/test_send.py | 6 +++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index f47160917..c757c18da 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -85,6 +85,10 @@ text-overflow: ellipsis; } + ul li { + margin-bottom: 5px; + } + } } diff --git a/app/templates/components/table.html b/app/templates/components/table.html index c5708512c..c5171c02a 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -90,7 +90,7 @@ {% macro text_field(text, status='', truncate=false) -%} {% call field(status=status) %} {% if text is iterable and text is not string %} -