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 966
966
display : block ;
967
967
border : none ;
968
968
height : rem (32px , map-get ($base-scale-size , ' comfortable' ));
969
- line-height : 0 !important ; /* resets typography styles */
970
969
width : 100% ;
971
970
min-width : 0 ;
972
971
overflow : visible ;
977
976
border-top : rem (3px ) solid transparent ;
978
977
padding-bottom : rem (3px );
979
978
979
+ & :not ([type = ' date' ]) {
980
+ line-height : 0 !important ; /* Reset typography */
981
+ }
982
+
980
983
& ::-webkit-input-placeholder {
981
984
line-height : normal ;
982
985
}
983
986
984
987
& ::placeholder {
985
988
color : --var ($theme , ' placeholder-color' );
986
989
opacity : 1 ;
990
+ line-height : normal ; /* Fix placeholder position in Safari */
987
991
}
988
992
}
989
993
You can’t perform that action at this time.
0 commit comments