mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-29 00:04:44 +00:00
Fixes #15422: Alternate fix for temporal input sizing in input groups
This commit is contained in:
parent
c4a23cc040
commit
c41970c579
4 changed files with 21 additions and 15 deletions
12
dist/css/bootstrap.css
vendored
12
dist/css/bootstrap.css
vendored
|
|
@ -2590,13 +2590,21 @@ input[type="search"] {
|
|||
input[type="date"].input-sm,
|
||||
input[type="time"].input-sm,
|
||||
input[type="datetime-local"].input-sm,
|
||||
input[type="month"].input-sm {
|
||||
input[type="month"].input-sm,
|
||||
.input-group-sm input[type="date"],
|
||||
.input-group-sm input[type="time"],
|
||||
.input-group-sm input[type="datetime-local"],
|
||||
.input-group-sm input[type="month"] {
|
||||
line-height: 30px;
|
||||
}
|
||||
input[type="date"].input-lg,
|
||||
input[type="time"].input-lg,
|
||||
input[type="datetime-local"].input-lg,
|
||||
input[type="month"].input-lg {
|
||||
input[type="month"].input-lg,
|
||||
.input-group-lg input[type="date"],
|
||||
.input-group-lg input[type="time"],
|
||||
.input-group-lg input[type="datetime-local"],
|
||||
.input-group-lg input[type="month"] {
|
||||
line-height: 46px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
dist/css/bootstrap.css.map
vendored
BIN
dist/css/bootstrap.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -178,18 +178,16 @@ input[type="search"] {
|
|||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
line-height: @input-height-base;
|
||||
}
|
||||
input[type="date"].input-sm,
|
||||
input[type="time"].input-sm,
|
||||
input[type="datetime-local"].input-sm,
|
||||
input[type="month"].input-sm {
|
||||
line-height: @input-height-small;
|
||||
}
|
||||
input[type="date"].input-lg,
|
||||
input[type="time"].input-lg,
|
||||
input[type="datetime-local"].input-lg,
|
||||
input[type="month"].input-lg {
|
||||
line-height: @input-height-large;
|
||||
|
||||
&.input-sm,
|
||||
.input-group-sm & {
|
||||
line-height: @input-height-small;
|
||||
}
|
||||
|
||||
&.input-lg,
|
||||
.input-group-lg & {
|
||||
line-height: @input-height-large;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue