File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
projects/igniteui-angular/src/lib/core/styles/components/input Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 889
889
display : block ;
890
890
border : none ;
891
891
height : rem (32px , map-get ($base-scale-size , ' comfortable' ));
892
- line-height : 0 !important ; /* resets typography styles */
893
892
width : 100% ;
894
893
min-width : 0 ;
895
894
overflow : visible ;
900
899
border-top : rem (3px ) solid transparent ;
901
900
padding-bottom : rem (3px );
902
901
902
+ & :not ([type = ' date' ]) {
903
+ line-height : 0 !important ; /* resets typography styles */
904
+ }
905
+
903
906
& ::-webkit-input-placeholder {
904
907
line-height : normal ;
905
908
}
906
909
907
910
& ::placeholder {
908
911
color : --var ($theme , ' placeholder-color' );
909
912
opacity : 1 ;
913
+ line-height : normal ; /* Fix placeholder position in Safari */
910
914
}
911
915
}
912
916
You can’t perform that action at this time.
0 commit comments