Skip to content

Commit 31c5e24

Browse files
fix(input-group) label cut off and broken ellipsis. (#12818)
* fix(input-group) label cut off and broken ellipsis --------- Co-authored-by: Stamen Stoychev <[email protected]>
1 parent 6e9979f commit 31c5e24

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@
637637
width: auto;
638638
min-width: 0;
639639
height: 100%;
640+
position: relative;
640641

641642
grid-area: 1 / 2;
642643
}
@@ -653,10 +654,6 @@
653654
grid-area: 1 / 4;
654655
}
655656

656-
%form-group-bundle--box,
657-
%form-group-bundle--border {
658-
grid-template-columns: auto auto 1fr auto;
659-
}
660657

661658
%form-group-bundle-start,
662659
%form-group-bundle-end {
@@ -677,8 +674,7 @@
677674
}
678675

679676
%form-group-bundle--border {
680-
--size: #{sizable(rem(40px), rem(48px), rem(56px))};
681-
677+
grid-template-columns: auto auto 1fr auto;
682678
display: grid;
683679
align-items: initial;
684680
padding: 0;
@@ -873,7 +869,7 @@
873869
position: absolute;
874870
max-width: 100%;
875871
padding-inline-end: rem(4px);
876-
line-height: 1;
872+
line-height: normal;
877873
backface-visibility: hidden;
878874
will-change: transform;
879875
transform-origin: top left;
@@ -905,7 +901,7 @@
905901
}
906902

907903
%form-group-label--float {
908-
--floating-label-position: -106%;
904+
--floating-label-position: -73%;
909905
transform: translateY(var(--floating-label-position));
910906
font-size: rem(12px);
911907
}
@@ -1584,10 +1580,9 @@
15841580

15851581
// Label
15861582
%fluent-label {
1587-
display: inline-flex;
1583+
display: block;
15881584
font-size: rem(14px);
15891585
font-weight: 600;
1590-
line-height: 1 !important;
15911586
position: static;
15921587
transform: translateY(0);
15931588
transform-origin: top left;

0 commit comments

Comments
 (0)