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 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 ;
900899 border-top : rem (3px ) solid transparent ;
901900 padding-bottom : rem (3px );
902901
902+ & :not ([type = ' date' ]) {
903+ line-height : 0 !important ; /* resets typography styles */
904+ }
905+
903906 & ::-webkit-input-placeholder {
904907 line-height : normal ;
905908 }
906909
907910 & ::placeholder {
908911 color : --var ($theme , ' placeholder-color' );
909912 opacity : 1 ;
913+ line-height : normal ; /* Fix placeholder position in Safari */
910914 }
911915 }
912916
You can’t perform that action at this time.
0 commit comments