Skip to content

Commit e66d3d3

Browse files
author
MPopov
committed
Change the scope to %form-group-input
1 parent 9f2d0ae commit e66d3d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,10 @@
899899
border-top: rem(3px) solid transparent;
900900
padding-bottom: rem(3px);
901901

902+
&:not([type='date']) {
903+
line-height: 0 !important; /* resets typography styles */
904+
}
905+
902906
&::-webkit-input-placeholder {
903907
line-height: normal;
904908
}
@@ -909,10 +913,6 @@
909913
line-height: normal; /* Fix placeholder position in Safari */
910914
}
911915
}
912-
913-
input:not([type='date']) {
914-
line-height: 0 !important; /* resets typography styles */
915-
}
916916

917917
%form-group-input--cosy {
918918
height: rem(32px, map-get($base-scale-size, 'cosy'));

0 commit comments

Comments
 (0)