Skip to content

Commit c0b570a

Browse files
committed
fix(input): revert using pad for helper text margin
1 parent b998617 commit c0b570a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/components/input/themes/shared/input.bootstrap.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $theme: $bootstrap;
1717

1818
color: var-get($theme, 'helper-text-color');
1919
grid-auto-rows: minmax(rem(20px), auto);
20-
margin-block-start: pad-block(rem(4px));
20+
margin-block-start: rem(4px);
2121
}
2222

2323
[part='prefix'] {
@@ -82,7 +82,7 @@ $theme: $bootstrap;
8282
}
8383

8484
[part~='label'] {
85-
margin-block-end: pad-block(rem(4px));
85+
margin-block-end: rem(4px);
8686
color: var-get($theme, 'idle-secondary-color');
8787

8888
&:empty {

src/components/input/themes/shared/input.fluent.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $theme: $fluent;
2525
@include type-style('caption');
2626

2727
color: var-get($theme, 'helper-text-color');
28-
margin-block-start: pad-block(rem(5px));
28+
margin-block-start: rem(5px);
2929
grid-auto-rows: minmax(rem(18px), auto);
3030
}
3131

@@ -49,7 +49,7 @@ $theme: $fluent;
4949
@include type-style('subtitle-2') {
5050
--ig-subtitle-2-line-height: #{rem(16px)};
5151

52-
margin-block: 0 pad-block(rem(5px));
52+
margin-block: 0 rem(5px);
5353
};
5454

5555
color: var-get($theme, 'idle-secondary-color');

src/components/input/themes/shared/input.indigo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $transition-duration: .25s;
6565
@include type-style('caption');
6666

6767
color: var-get($theme, 'idle-secondary-color');
68-
margin-block-end: pad-block(rem(4px));
68+
margin-block-end: rem(4px);
6969
}
7070

7171
[part^='container'] {

src/components/input/themes/shared/input.material.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $fs: rem(16px) !default;
3535
@include type-style('caption');
3636

3737
color: var-get($theme, 'helper-text-color');
38-
margin-block-start: pad-block(rem(4px));
38+
margin-block-start: rem(4px);
3939
grid-auto-rows: minmax(rem(18px), auto);
4040
padding-inline: pad-inline(rem(14px), rem(16px), rem(18px));
4141
}

0 commit comments

Comments
 (0)