Skip to content

Commit

Permalink
EPBR-5282 Added missed usage of govuk-tag on domestic cert
Browse files Browse the repository at this point in the history
Fix usage of govuk-tag to correctly set styles in line with updates to govuk styles.

Includes accessibility improvements related to uppercase words
  • Loading branch information
emollett committed Aug 28, 2024
1 parent 917b6e3 commit 8db6693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/views/find_certificate_list_certificate.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<%= date(result[:dateOfExpiry]) %>
</span>
<% if Date.parse(result[:dateOfExpiry]) < Date.today %>
<br /><strong class="govuk-tag--red govuk-!-padding-left-2 govuk-!-padding-right-2"><%= t('find_certificate_results.expired').upcase%></strong>
<br /><strong class="govuk-tag govuk-tag--red govuk-!-font-weight-bold"><%= t('find_certificate_results.expired')%></strong>
<% end %>
</td>
</tr>
Expand Down

0 comments on commit 8db6693

Please sign in to comment.