fix unremovable column

This commit is contained in:
simon lehericey 2024-11-25 14:52:31 +01:00
parent 602680a251
commit b81f1b1d25
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 6 additions and 6 deletions

View file

@ -234,11 +234,6 @@ input[type='radio'] {
text-transform: lowercase; 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 // Caption is bold, but all-procedures table use fr-tag in caption
.fr-table caption .fr-tag { .fr-table caption .fr-tag {
font-weight: normal; font-weight: normal;
@ -252,3 +247,8 @@ input[type='radio'] {
.fr-cell--numeric { .fr-cell--numeric {
font-variant-numeric: tabular-nums; 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 end
def tag_label(name, color) 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 end
def demandeur_dossier(dossier) def demandeur_dossier(dossier)