Align icon

This commit is contained in:
zandercymatics 2024-01-31 11:29:11 -07:00
parent da73edefb4
commit e2e4ad9d02
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 9 additions and 18 deletions

View file

@ -132,10 +132,3 @@ a.usa-button--unstyled:visited {
margin-left: units(2); margin-left: units(2);
} }
} }
// TODO: find another file for this
.info-tooltip {
transform: translateY(4px) !important;
display: inline-block;
background: transparent;
}

View file

@ -58,9 +58,8 @@
{% else %} {% else %}
{{ domain.state|capfirst }} {{ domain.state|capfirst }}
{% endif %} {% endif %}
<span class="info-tooltip">
<svg <svg
class="usa-icon usa-tooltip" class="usa-icon usa-tooltip text-middle margin-bottom-05"
role="img" role="img"
data-position="top" data-position="top"
title="{{domain.get_state_help_text}}" title="{{domain.get_state_help_text}}"
@ -69,7 +68,6 @@
<use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use> <use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
</svg> </svg>
</span> </span>
</span>
</td> </td>
<td> <td>
<a href="{% url "domain" pk=domain.pk %}"> <a href="{% url "domain" pk=domain.pk %}">