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 | 05218a15edeed0ede6ddb15c4c85f3593bff86a8 (patch) | |
| tree | 1381f36d4f22721013e59697de3cbad96079184a /ishtar_common/templates/ishtar/blocks/window_field_flex.html | |
| parent | f87ff87732ef85cd44c3ba57e2d49be6bc1530e2 (diff) | |
| download | Ishtar-05218a15edeed0ede6ddb15c4c85f3593bff86a8.tar.bz2 Ishtar-05218a15edeed0ede6ddb15c4c85f3593bff86a8.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> |
