Skip to content

Commit 7fe81b5

Browse files
authored
fix(checkbox): added relative position to wrapper (#9892)
1 parent 39091b0 commit 7fe81b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/components/src/components/checkbox/_checkbox.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
@mixin checkbox {
1919
// Spacing between checkboxes
2020
.#{$prefix}--form-item.#{$prefix}--checkbox-wrapper {
21+
position: relative;
2122
margin-bottom: $carbon--spacing-02;
2223
}
2324

packages/styles/scss/components/checkbox/_checkbox.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
@mixin checkbox {
1818
// Spacing between checkboxes
1919
.#{$prefix}--form-item.#{$prefix}--checkbox-wrapper {
20+
position: relative;
2021
margin-bottom: $spacing-02;
2122
}
2223

0 commit comments

Comments
 (0)