Merge pull request #9544 from colinux/form-champ-scroll-margin

ETQ usager aère le form quand on clic sur une ancre d'un champ en erreur
This commit is contained in:
Colin Darie 2023-10-02 07:44:58 +00:00 committed by GitHub
commit 202ba6bbe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -240,7 +240,7 @@ GEM
excon (0.102.0)
factory_bot (6.1.0)
activesupport (>= 5.0.0)
ffi (1.15.5)
ffi (1.16.2)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
@ -659,7 +659,7 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
scss_lint (0.59.0)
scss_lint (0.60.0)
sass (~> 3.5, >= 3.5.5)
selectize-rails (0.12.6)
selenium-devtools (0.114.0)

View file

@ -61,7 +61,7 @@
}
.flex-gap-2 {
gap: 2 * $default-spacer; // scss-lint:disable PropertySpelling
gap: 2 * $default-spacer;
}
.flex-1 {

View file

@ -138,6 +138,10 @@
margin-bottom: $default-fields-spacer;
}
}
.fr-label {
scroll-margin: $default-spacer * 2;
}
}
.radios {