File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 6161 visibility : hidden ;
6262 }
6363
64- // Fixes an issue on iOS where the following input types will collapse to 1px,
65- // if they're empty, because we've overridden their background color.
66- // See: https://stackoverflow.com/questions/18381594/input-type-date-appearance-in-safari-on-ios
6764 & [type = ' date' ],
6865 & [type = ' datetime' ],
6966 & [type = ' datetime-local' ],
7067 & [type = ' month' ],
7168 & [type = ' week' ],
7269 & [type = ' time' ] {
70+ // Due to the native input masking these inputs can be slightly taller than
71+ // the plain text inputs. We normalize it by resetting the line height.
72+ line-height : 1 ;
73+
74+ // Fixes an issue on iOS where the following input types will collapse to 1px,
75+ // if they're empty, because we've overridden their background color.
76+ // See: https://stackoverflow.com/questions/18381594/input-type-date-appearance-in-safari-on-ios
7377 & ::after {
7478 content : ' ' ;
7579 white-space : pre ;
You can’t perform that action at this time.
0 commit comments