Skip to content

Commit 3a0e38e

Browse files
committed
fix(input-group): file input bundle height in fluent theme
1 parent 9710542 commit 3a0e38e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • projects/igniteui-angular/input-group/src/input-group/themes

projects/igniteui-angular/input-group/src/input-group/themes/_base.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,13 @@ $transition-timing: .25s $out-cubic;
312312
}
313313

314314
@include m(file) {
315+
// Collapse the unused row (--_bundle-row is 1 or 2) so the other gets full height.
316+
@include e(bundle) {
317+
grid-template-rows:
318+
minmax(0, calc((2 - var(--_bundle-row)) * 100%))
319+
minmax(0, calc((var(--_bundle-row) - 1) * 100%));
320+
}
321+
315322
@include e(input) {
316323
grid-column: 2 / -2;
317324
}

0 commit comments

Comments
 (0)