Skip to content

Commit 63d9df7

Browse files
committed
fix(input-group): fluent & bootstrap comments
1 parent bdbd28f commit 63d9df7

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

projects/igniteui-angular/src/lib/core/styles/components/input/_input-group-theme.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@
10161016
%form-group-display--search {
10171017
%igx-input-group__notch--search,
10181018
%form-group-bundle-main--search {
1019-
@if $variant != 'indigo' {
1019+
@if $variant == 'material' {
10201020
padding-inline: rem(4px);
10211021
}
10221022
}
@@ -1079,11 +1079,9 @@
10791079
}
10801080

10811081
%form-group-label {
1082-
padding-inline-end: rem(4px);
10831082
backface-visibility: hidden;
10841083
will-change: transform;
10851084
transform-origin: top left;
1086-
margin-inline-start: pad-inline(0, rem(-2px), rem(-4px));
10871085
}
10881086

10891087
%form-group-label--border {
@@ -1632,6 +1630,7 @@
16321630
%form-group-helper {
16331631
--ig-caption-margin-top: #{$hint-spacing-block};
16341632
--ig-caption-margin-bottom: 0;
1633+
--ig-body-2-margin-top: #{$hint-spacing-block};
16351634

16361635
color: var-get($theme, 'helper-text-color');
16371636
position: relative;

projects/igniteui-angular/src/lib/core/styles/components/time-picker/_time-picker-theme.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
.igx-input-group {
2727
display: flex;
2828
flex-direction: column;
29+
30+
@if $variant == 'indigo' or $variant == 'bootstrap' {
31+
[igxLabel] {
32+
margin-block-end: rem(4px);
33+
}
34+
} @else if $variant == 'fluent' {
35+
[igxLabel] {
36+
margin-block-end: rem(5px);
37+
}
38+
}
2939
}
3040

3141
%time-picker-display {

0 commit comments

Comments
 (0)