mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 06:44:35 +02:00
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
This commit is contained in:
@@ -52,6 +52,13 @@
|
|||||||
height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height);
|
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
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: $input-placeholder-color;
|
color: $input-placeholder-color;
|
||||||
|
Reference in New Issue
Block a user