File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed
@tailwindcss-postcss/src/__snapshots__ Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -509,9 +509,15 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
509509 -webkit-appearance: none ;
510510 }
511511
512+ input :where ([type = " time" ], [type = " date" ]) {
513+ display: inline - block ;
514+ }
515+
512516 ::- webkit - date - and - time - value {
517+ vertical-align: middle ;
513518 text - align : inherit ;
514519 min - height : 1lh ;
520+ display : inline - block ;
515521 }
516522
517523 ::- webkit - datetime - edit {
Original file line number Diff line number Diff line change @@ -245,13 +245,24 @@ progress {
245245}
246246
247247/*
248- 1. Ensure date/time inputs have the same height when empty in iOS Safari.
249- 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
248+ Ensure the empty date/time inputs are correctly aligned in iOS Safari.
249+ */
250+
251+ input : where ([type = "time" ], [type = "date" ]) {
252+ display : inline-block;
253+ }
254+
255+ /*
256+ 1. Ensure the empty date/time inputs are correctly aligned in iOS Safari.
257+ 2. Ensure date/time inputs have the same height when empty in iOS Safari.
258+ 3. Ensure text alignment can be changed on date/time inputs in iOS Safari.
250259*/
251260
252261::-webkit-date-and-time-value {
253- min-height : 1lh ; /* 1 */
254- text-align : inherit; /* 2 */
262+ vertical-align : middle; /* 1 */
263+ min-height : 1lh ; /* 2 */
264+ text-align : inherit; /* 3 */
265+ display : inline-block; /* 1 */
255266}
256267
257268/*
You can’t perform that action at this time.
0 commit comments