]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Prevent extraneous whitespace around date time inputs in Webkit (#37350)
authorStephen Reay <stephen@koalephant.com>
Sun, 30 Oct 2022 22:02:10 +0000 (05:02 +0700)
committerGitHub <noreply@github.com>
Sun, 30 Oct 2022 22:02:10 +0000 (18:02 -0400)
* Prevent extraneous whitespace around date time inputs in Webkit

Closes twbs/bootstrap#34433

* Updated bundlewatch config

scss/forms/_form-control.scss

index e707c57ea2941112f478ffae1918ebc74ba9b1d9..c81e3b4ea02b64dd6dedbee27f587173266f7b3e 100644 (file)
     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;