aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_reboot.scss15
1 files changed, 12 insertions, 3 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index d815baea0..9f63ab68a 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -528,9 +528,18 @@ legend {
// Fix height of inputs with a type of datetime-local, date, month, week, or time
// See https://github.com/twbs/bootstrap/issues/18842
-::-webkit-datetime-edit {
- overflow: visible;
- line-height: 0;
+::-webkit-datetime-edit-fields-wrapper,
+::-webkit-datetime-edit-text,
+::-webkit-datetime-edit-minute,
+::-webkit-datetime-edit-hour-field,
+::-webkit-datetime-edit-day-field,
+::-webkit-datetime-edit-month-field,
+::-webkit-datetime-edit-year-field {
+ padding: 0;
+}
+
+::-webkit-inner-spin-button {
+ height: auto;
}
// 1. Correct the outline style in Safari.