From: Stephen Reay Date: Sun, 30 Oct 2022 22:02:10 +0000 (+0700) Subject: Prevent extraneous whitespace around date time inputs in Webkit (#37350) X-Git-Tag: v5.3.0-alpha1~101 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=4b54d22483c7fb4b7d86f50ffcbbf31da833e243;p=thirdparty%2Fbootstrap.git Prevent extraneous whitespace around date time inputs in Webkit (#37350) * Prevent extraneous whitespace around date time inputs in Webkit Closes twbs/bootstrap#34433 * Updated bundlewatch config --- diff --git a/scss/forms/_form-control.scss b/scss/forms/_form-control.scss index e707c57ea2..c81e3b4ea0 100644 --- a/scss/forms/_form-control.scss +++ b/scss/forms/_form-control.scss @@ -52,6 +52,13 @@ height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height); } + // Prevent excessive date input height in Webkit + // https://github.com/twbs/bootstrap/issues/34433 + &::-webkit-datetime-edit { + display: block; + padding: 0; + } + // Placeholder &::placeholder { color: $input-placeholder-color;