style: user dossier state badges must be sized sm

This commit is contained in:
Colin Darie 2023-03-23 12:03:33 +01:00
parent 9565267170
commit 7a9917fb32
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -79,7 +79,7 @@ module DossierHelper
def status_badge(state, alignment_class = '')
status_text = dossier_display_state(state, lower: true)
tag.span(status_text, class: "fr-badge #{class_badge_state(state)} fr-badge--no-icon #{alignment_class}", role: 'status')
tag.span(status_text, class: "fr-badge fr-badge--sm #{class_badge_state(state)} fr-badge--no-icon #{alignment_class}", role: 'status')
end
def deletion_reason_badge(reason)