Skip to content

Commit 09a504f

Browse files
committed
fix(input-group): line-height and helper text
1 parent 682a3fb commit 09a504f

File tree

7 files changed

+10
-4
lines changed

7 files changed

+10
-4
lines changed

src/components/combo/themes/combo.base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
::part(helper-text) {
2525
@include type-style('caption');
2626
@include line-clamp(2, true, true);
27+
28+
overflow-wrap: anywhere;
2729
}
2830

2931
slot[name='value-missing'] {

src/components/date-picker/themes/date-picker.base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
::part(helper-text) {
2727
@include type-style('caption');
2828
@include line-clamp(2, true, true);
29+
30+
overflow-wrap: anywhere;
2931
}
3032

3133
slot[name='value-missing'] {

src/components/date-range-picker/date-range-picker.base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
::part(helper-text) {
3030
@include type-style('caption');
3131
@include line-clamp(2, true, true);
32+
33+
overflow-wrap: anywhere;
3234
}
3335

3436
slot[name='value-missing'] {

src/components/input/themes/input.base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
::part(helper-text) {
1616
@include type-style('caption');
1717
@include line-clamp(2, true, true);
18+
19+
overflow-wrap: anywhere;
1820
}
1921

2022
slot[name='value-missing'] {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ $theme: $fluent;
4444

4545
[part='label'] {
4646
@include type-style('subtitle-2') {
47-
--ig-subtitle-2-line-height: #{rem(16px)};
48-
4947
margin-block: 0 rem(5px);
5048
};
5149

src/components/select/themes/select.base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
::part(helper-text) {
99
@include type-style('caption');
1010
@include line-clamp(2, true, true);
11+
12+
overflow-wrap: anywhere;
1113
}
1214

1315
slot[name='value-missing'] {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ $border-size: rem(1px);
1919

2020
[part~='label'] {
2121
@include type-style('subtitle-2') {
22-
--ig-subtitle-2-line-height: #{rem(16px)};
23-
2422
margin-block: 0 pad-block(rem(5px));
2523
};
2624

0 commit comments

Comments
 (0)