]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix pseudo paddings and height
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Sat, 22 Feb 2020 20:48:14 +0000 (21:48 +0100)
committerMartijn Cuppens <martijn.cuppens@gmail.com>
Sat, 14 Mar 2020 16:09:08 +0000 (17:09 +0100)
scss/_reboot.scss

index d815baea09effba0de19bdef95eb1e7f8d378dca..9f63ab68a8dc7c74532ffdbaa1cdebbd55526070 100644 (file)
@@ -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.