diff --git a/src/registrar/assets/sass/_theme/_base.scss b/src/registrar/assets/sass/_theme/_base.scss index 347b132a3..0a62009e7 100644 --- a/src/registrar/assets/sass/_theme/_base.scss +++ b/src/registrar/assets/sass/_theme/_base.scss @@ -139,7 +139,7 @@ abbr[title] { } } -@media (tablet) { +@include at-media(tablet) { .usa-tooltip__body { width: 250px; white-space: normal; diff --git a/src/registrar/templates/home.html b/src/registrar/templates/home.html index 699a82c61..0747c9985 100644 --- a/src/registrar/templates/home.html +++ b/src/registrar/templates/home.html @@ -48,25 +48,23 @@ {{ domain.expiration_date|date }} - - {# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #} - {% if domain.is_expired and domain.state != domain.State.UNKNOWN %} - Expired - {% elif domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %} - DNS needed - {% else %} - {{ domain.state|capfirst }} - {% endif %} - - - - + {# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #} + {% if domain.is_expired and domain.state != domain.State.UNKNOWN %} + Expired + {% elif domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %} + DNS needed + {% else %} + {{ domain.state|capfirst }} + {% endif %} + + +