diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-29 17:27:12 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-29 17:27:12 +0100 |
| commit | 05889438288d4fe109e277967117eaeed9b4995b (patch) | |
| tree | 1381f36d4f22721013e59697de3cbad96079184a /ishtar_common/templates/ishtar/blocks/window_field_flex.html | |
| parent | 3757f525a1dac60db76836b9ca509a44abea444c (diff) | |
| download | Ishtar-05889438288d4fe109e277967117eaeed9b4995b.tar.bz2 Ishtar-05889438288d4fe109e277967117eaeed9b4995b.zip | |
UI: improve table in sheet
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_field_flex.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex.html b/ishtar_common/templates/ishtar/blocks/window_field_flex.html index e6bd03a85..add2a5520 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex.html @@ -1,5 +1,5 @@ {% load i18n %}{% if data %} - <dl class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row"> + <dl class="col-12 {% if size == 2 %}col-lg-6{% else %}col-md-6 col-lg-4{% endif %} d-flex flex-wrap row"> <dt class="col-5">{% trans caption %}</dt> <dd class="col-7">{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe }}</dd> </dl> |
