Skip to content

Commit

Permalink
Merge pull request demarches-simplifiees#9981 from colinux/checkbox-m…
Browse files Browse the repository at this point in the history
…andatory-icon

ETQ usager je vois l'icône obligatoire pour une case à cocher obligatoire
  • Loading branch information
colinux authored Feb 9, 2024
2 parents c4bdef3 + 9639d68 commit 409069b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
&.editable-champ-checkbox {
label {
font-weight: normal;
gap: 0.25rem; // Space before mandatory icon because dsfr set display:flex on checkbox label
}

input[type=checkbox] {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= @champ.libelle
- if @champ.public? && [email protected]?
- if @champ.public?
- if @champ.mandatory?
= render EditableChamp::AsteriskMandatoryComponent.new
- else
Expand Down

0 comments on commit 409069b

Please sign in to comment.