Skip to content

Commit e09d808

Browse files
authored
fix(textarea): suffix space (#16140)
1 parent 9bdcc1e commit e09d808

File tree

1 file changed

+23
-0
lines changed
  • projects/igniteui-angular/src/lib/input-group/themes/shared

1 file changed

+23
-0
lines changed

projects/igniteui-angular/src/lib/input-group/themes/shared/material.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,29 @@ $input-bottom-spacing: rem(6px);
340340
}
341341
}
342342

343+
@include m(textarea-group, $not: (suffixed)) {
344+
@include e(bundle-main) {
345+
grid-area: 1 / 2 / span 1 / span 3;
346+
padding-inline-end: 0;
347+
}
348+
349+
@include e(textarea) {
350+
padding-inline-end: rem(4px);
351+
}
352+
}
353+
354+
@include mx(box, textarea-group, ('not': (suffixed))) {
355+
@include e(textarea) {
356+
max-width: calc(100% - #{rem(1px)});
357+
}
358+
}
359+
360+
@include mx(border, textarea-group, ('not': (suffixed))) {
361+
@include e(textarea) {
362+
max-width: calc(100% - #{rem(2px)});
363+
}
364+
}
365+
343366
@include mx(base, textarea-group) {
344367
@include e(label) {
345368
top: var(--_input-top-spacing);

0 commit comments

Comments
 (0)