Skip to content

Commit 64b35f9

Browse files
committed
fix(checkbox): add styles for label when positioned before
1 parent 205eb11 commit 64b35f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

projects/igniteui-angular/src/lib/core/styles/components/checkbox/_checkbox-component.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
@extend %cbx-label--hover !optional;
1919
}
2020

21+
@include e(label, $m: before) {
22+
@extend %cbx-label--hover !optional;
23+
}
24+
2125
@include e(ripple) {
2226
@extend %cbx-ripple--hover !optional;
2327
}
@@ -87,6 +91,10 @@
8791
@extend %cbx-label--invalid !optional;
8892
}
8993

94+
@include e(label, $m: before) {
95+
@extend %cbx-label--invalid !optional;
96+
}
97+
9098
&:hover {
9199
@include e(ripple) {
92100
@extend %cbx-ripple--hover !optional;
@@ -104,6 +112,10 @@
104112
@include e(label) {
105113
@extend %cbx-label--invalid !optional;
106114
}
115+
116+
@include e(label, $m: before) {
117+
@extend %cbx-label--invalid !optional;
118+
}
107119
}
108120

109121
&:active {

0 commit comments

Comments
 (0)