Skip to content

Commit 381b511

Browse files
author
MPopov
committed
Fix input type date line height
1 parent 8824d74 commit 381b511

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,6 @@
889889
display: block;
890890
border: none;
891891
height: rem(32px, map-get($base-scale-size, 'comfortable'));
892-
line-height: 0 !important; /* resets typography styles */
893892
width: 100%;
894893
min-width: 0;
895894
overflow: visible;
@@ -910,6 +909,10 @@
910909
line-height: normal; /* Fix placeholder position in Safari */
911910
}
912911
}
912+
913+
input:not([type='date']) {
914+
line-height: 0 !important; /* resets typography styles */
915+
}
913916

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

0 commit comments

Comments
 (0)