Merge pull request #11081 from demarches-simplifiees/fix_unremovable_column_selector

ETQ Instructeur, je veux pouvoir retirer une colonne au libellé très long
This commit is contained in:
LeSim 2024-11-25 15:11:39 +01:00 committed by GitHub
commit 55d2789eae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -234,11 +234,6 @@ input[type='radio'] {
text-transform: lowercase;
}
// We don't want badge to split in two lines
.fr-tag {
white-space: nowrap;
}
// Caption is bold, but all-procedures table use fr-tag in caption
.fr-table caption .fr-tag {
font-weight: normal;
@ -252,3 +247,8 @@ input[type='radio'] {
.fr-cell--numeric {
font-variant-numeric: tabular-nums;
}
// We don't want badge to split in two lines
.fr-tag.no-wrap {
white-space: nowrap;
}

View file

@ -130,7 +130,7 @@ module DossierHelper
end
def tag_label(name, color)
tag.span(name, class: "fr-tag fr-tag--sm fr-tag--#{Label.class_name(color)}")
tag.span(name, class: "fr-tag fr-tag--sm fr-tag--#{Label.class_name(color)} no-wrap")
end
def demandeur_dossier(dossier)