Remove extra spacing on single item lists

This commit is contained in:
igorkorenfeld 2023-05-19 14:55:37 -04:00
parent 0d5ca5bdcb
commit 53de82a406
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -36,7 +36,7 @@
{% elif list %}
{% if value|length == 1 %}
<p class="margin-top-0">{{ value | first }} </p>
<p class="margin-top-0 margin-bottom-0">{{ value | first }} </p>
{% else %}
<ul class="usa-list margin-top-0">
{% for item in value %}
@ -49,7 +49,7 @@
{% elif users %}
{% if value|length == 1 %}
<p class="margin-top-0">{{ user.email }} <span class="padding-left-2px text-base"> ({{ value.first.role }}) </span></p>
<p class="margin-top-0 margin-bottom-0">{{ user.email }} <span class="padding-left-2px text-base"> ({{ value.first.role }}) </span></p>
{% else %}
<ul class="usa-list usa-list--unstyled margin-top-0">
{% for item in value %}