Skip to content

Commit

Permalink
fix(fr-hint-text): Prevents help from being displayed next to 'field …
Browse files Browse the repository at this point in the history
…updated by administration' insert, when present"
  • Loading branch information
inseo committed Feb 13, 2025
1 parent 79d210c commit eb66efc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/assets/stylesheets/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@
}
}

.fr-label .fr-hint-text,
.fr-label + .fr-hint-text {
clear: right;
// Évite (en version mobile) que les premiers mots de l'aide
// ne remontent en vis à vis de l'encart
// "champ actualisé par l'administration", lorsqu'il est présent
}

.fr-label + .fr-hint-text > *,
.fr-fieldset__legend + .fr-hint-text > * {
// la description d'un champ peut contenir du markup (markdown->html),
Expand Down

0 comments on commit eb66efc

Please sign in to comment.