Skip to content

Commit

Permalink
fix(checkbox): added relative position to wrapper (#9892)
Browse files Browse the repository at this point in the history
  • Loading branch information
sstrubberg authored Oct 25, 2021
1 parent 39091b0 commit 7fe81b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
@mixin checkbox {
// Spacing between checkboxes
.#{$prefix}--form-item.#{$prefix}--checkbox-wrapper {
position: relative;
margin-bottom: $carbon--spacing-02;
}

Expand Down
1 change: 1 addition & 0 deletions packages/styles/scss/components/checkbox/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@mixin checkbox {
// Spacing between checkboxes
.#{$prefix}--form-item.#{$prefix}--checkbox-wrapper {
position: relative;
margin-bottom: $spacing-02;
}

Expand Down

0 comments on commit 7fe81b5

Please sign in to comment.