Skip to content

Commit

Permalink
🐛 [#587] Fix checkbox focus outline regression
Browse files Browse the repository at this point in the history
Backport-of: 119a2c1
  • Loading branch information
sergei-maertens committed Nov 9, 2023
1 parent d07d0dd commit 3e6c987
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/scss/components/_checkbox.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@use 'microscope-sass/lib/bem';

// Extensions on NL DS component
.utrecht-form-field {
@include bem.modifier('openforms') {
&.utrecht-form-field--checkbox {
&:focus-within {
outline: var(--of-utrecht-form-label-checkbox-focus-within-outline);
}
}
}
}
1 change: 1 addition & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
@import './scss/components/anchor';
@import './scss/components/button';
@import './scss/components/card';
@import './scss/components/checkbox';
@import './scss/components/content';
@import './scss/components/errors';
@import './scss/components/form-control';
Expand Down

0 comments on commit 3e6c987

Please sign in to comment.