Skip to content

Commit 2db5e8e

Browse files
committed
styles: Normalize date input heights across browsers
1 parent 9462575 commit 2db5e8e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

app/styles/application.module.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,22 @@ noscript {
142142
color: white;
143143
}
144144

145+
/* see https://github.com/twbs/bootstrap/pull/30269 */
146+
::-webkit-datetime-edit,
147+
::-webkit-datetime-edit-fields-wrapper,
148+
::-webkit-datetime-edit-text,
149+
::-webkit-datetime-edit-minute,
150+
::-webkit-datetime-edit-hour-field,
151+
::-webkit-datetime-edit-day-field,
152+
::-webkit-datetime-edit-month-field,
153+
::-webkit-datetime-edit-year-field {
154+
padding: 0;
155+
}
156+
157+
::-webkit-calendar-picker-indicator {
158+
font-size: 0.9em
159+
}
160+
145161
:global {
146162
.c-notification__icon {
147163
display: flex;

0 commit comments

Comments
 (0)