diff options
author | Stephen Reay <stephen@koalephant.com> | 2022-10-31 01:02:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 01:02:10 +0300 |
commit | 4b54d22483c7fb4b7d86f50ffcbbf31da833e243 (patch) | |
tree | 96b4258d005758445bb1faf3105b69803425d720 | |
parent | 8fd4c3e12f9e4ca63ab2ce70d59bc620af83de09 (diff) |
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
-rw-r--r-- | scss/forms/_form-control.scss | 7 |
1 files changed, 7 insertions, 0 deletions
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; |