From 595ddf5b6fd4417e49dd67e6e24a6e089dc097bf Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 2 Mar 2022 19:20:09 +0100 Subject: [PATCH] fix display of thirdparty contact badges in twig template --- .../Resources/public/chill/chillthirdparty.scss | 3 +++ .../Resources/views/Entity/thirdparty.html.twig | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/public/chill/chillthirdparty.scss b/src/Bundle/ChillThirdPartyBundle/Resources/public/chill/chillthirdparty.scss index b5b1b7a9e..d0114d9a2 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/public/chill/chillthirdparty.scss +++ b/src/Bundle/ChillThirdPartyBundle/Resources/public/chill/chillthirdparty.scss @@ -22,6 +22,9 @@ div.thirdparty-list { div.item-col:first-child { flex-basis: 25%; } + div.wrap { + flex-wrap: wrap; + } } } } diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig index 79aa7be6c..f25f3b263 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig @@ -173,7 +173,7 @@ {% if options['showContacts'] and thirdparty.activeChildren|length > 0 %}
-
+
{{ 'thirdparty.Children'|trans ~ ': ' }}
{% for c in thirdparty.activeChildren %} {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {