Skip to content

Commit 70afa9d

Browse files
committed
fix(radio-group): label in horizontal alignment
1 parent c0e89be commit 70afa9d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

projects/igniteui-angular/src/lib/core/styles/components/radio/_radio-theme.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -611,21 +611,22 @@
611611
%radio-group-display--vertical {
612612
display: flex;
613613
flex-flow: column;
614+
614615
%radio-display:not(:last-of-type) {
615616
margin-inline-end: 0;
616617
margin-block-end: $vertical-group-margin;
617618
}
618-
}
619619

620-
%radio-group-display--disabled {
621-
[igxLabel] {
622-
color: var-get($theme, 'disabled-color');
620+
&%radio-group-display--before {
621+
[igxLabel] {
622+
text-align: end;
623+
}
623624
}
624625
}
625626

626-
%radio-group-display--before {
627+
%radio-group-display--disabled {
627628
[igxLabel] {
628-
text-align: end;
629+
color: var-get($theme, 'disabled-color');
629630
}
630631
}
631632
}

0 commit comments

Comments
 (0)