Don't use nbsp

This commit is contained in:
leigh-mil 2019-09-03 15:43:56 -04:00
parent 4d24f97ed7
commit cbbbfad494
4 changed files with 1 additions and 5 deletions

View File

@ -86,7 +86,6 @@
} }
&__title { &__title {
display: flex;
align-items: center; align-items: center;
&-inline { &-inline {

View File

@ -25,7 +25,6 @@
<div class="usa-input__title"> <div class="usa-input__title">
{{ field.label | striptags }} {{ field.label | striptags }}
{% if optional %} {% if optional %}
&nbsp;
<span class="usa-input-label-helper">(optional)</span> <span class="usa-input-label-helper">(optional)</span>
{% endif %} {% endif %}
{% if tooltip %}{{ Tooltip(tooltip) }}{% endif %} {% if tooltip %}{{ Tooltip(tooltip) }}{% endif %}

View File

@ -29,7 +29,6 @@
<div class="usa-input__title{% if not field.description %}-inline{% endif %}"> <div class="usa-input__title{% if not field.description %}-inline{% endif %}">
{{ field.label | striptags}} {{ field.label | striptags}}
{% if optional %} {% if optional %}
&nbsp;
<span class="usa-input-label-helper">(optional)</span> <span class="usa-input-label-helper">(optional)</span>
{% endif %} {% endif %}
{% if tooltip %}{{ Tooltip(tooltip) }}{% endif %} {% if tooltip %}{{ Tooltip(tooltip) }}{% endif %}

View File

@ -41,7 +41,6 @@
<div class="usa-input__title"> <div class="usa-input__title">
{{ label }} {{ label }}
{% if optional %} {% if optional %}
&nbsp;
<span class="usa-input-label-helper">(optional)</span> <span class="usa-input-label-helper">(optional)</span>
{% endif %} {% endif %}
{% if tooltip and not disabled %} {% if tooltip and not disabled %}