Skip to content

Commit

Permalink
fix(checkbox): avoid outline cutoff in hidden overflow containers (#7887
Browse files Browse the repository at this point in the history
)

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 25, 2021
1 parent 06358da commit b4d91b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
// different checkbox states.
width: rem(16px);
height: rem(16px);
margin: rem(2px);
// increase left margin for #6480
margin: rem(2px) rem(2px) rem(2px) rem(3px);

// Checkboxes with a background color look visually off against a parent container.
background-color: transparent;
Expand Down

0 comments on commit b4d91b9

Please sign in to comment.