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 {
display: flex;
align-items: center;
&-inline {

View File

@ -23,9 +23,8 @@
<fieldset data-ally-disabled="true" v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}">
<legend>
<div class="usa-input__title">
{{ field.label | striptags}}
{{ field.label | striptags }}
{% if optional %}
&nbsp;
<span class="usa-input-label-helper">(optional)</span>
{% endif %}
{% if tooltip %}{{ Tooltip(tooltip) }}{% endif %}

View File

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

View File

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