amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
This commit is contained in:
parent
c86c1efcb7
commit
9a0ee850a8
3 changed files with 7 additions and 9 deletions
|
@ -213,7 +213,7 @@
|
|||
.fr-label {
|
||||
// la description d'un champ peut contenir du markup (markdown->html),
|
||||
// on herite donc la fontsize/mrgin/padding du fr-hint-text
|
||||
.fr-hint-text > *{
|
||||
.fr-hint-text > * {
|
||||
font-size: inherit;
|
||||
margin: inherit;
|
||||
padding: inherit;
|
||||
|
@ -223,7 +223,6 @@
|
|||
input[type=password],
|
||||
select {
|
||||
display: block;
|
||||
margin-bottom: $default-fields-spacer;
|
||||
margin-bottom: 0;
|
||||
|
||||
&.small-margin {
|
||||
|
|
|
@ -103,7 +103,6 @@ module Dsfr
|
|||
def hint?
|
||||
I18n.exists?("activerecord.attributes.#{object.class.name.underscore}.hints.#{@attribute}")
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue