aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-02-22 21:48:14 +0100
committerMartijn Cuppens <[email protected]>2020-03-14 17:09:08 +0100
commit4d4400e5ca0e55bd7e9762fee1794e7424fa1db7 (patch)
tree3e43acf01b204516e9f83db69caa67672e1e2a4b
parentff39e0bf842cbac99126689bc7cfd1fa882d5d93 (diff)
downloadbootstrap-4d4400e5ca0e55bd7e9762fee1794e7424fa1db7.tar.xz
bootstrap-4d4400e5ca0e55bd7e9762fee1794e7424fa1db7.zip
Fix pseudo paddings and height
-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.