Skip to content

Commit

Permalink
Merge pull request #11081 from demarches-simplifiees/fix_unremovable_…
Browse files Browse the repository at this point in the history
…column_selector

ETQ Instructeur, je veux pouvoir retirer une colonne au libellé très long
  • Loading branch information
LeSim authored Nov 25, 2024
2 parents 6e83d34 + b81f1b1 commit 55d2789
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/assets/stylesheets/dsfr.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
2 changes: 1 addition & 1 deletion app/helpers/dossier_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def tags_label(tags)
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)
Expand Down

0 comments on commit 55d2789

Please sign in to comment.