mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-12 09:54:25 +01:00
Fix color heights (#32023)
This commit is contained in:
parent
6fc35e3231
commit
a108e2bbf8
@ -207,17 +207,20 @@ textarea {
|
|||||||
|
|
||||||
.form-control-color {
|
.form-control-color {
|
||||||
max-width: 3rem;
|
max-width: 3rem;
|
||||||
|
height: auto; // Override fixed browser height
|
||||||
padding: $input-padding-y;
|
padding: $input-padding-y;
|
||||||
|
|
||||||
&:not(:disabled):not([readonly]) {
|
&:not(:disabled):not([readonly]) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.form-control-color::-moz-color-swatch {
|
&::-moz-color-swatch {
|
||||||
|
height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height);
|
||||||
@include border-radius($input-border-radius);
|
@include border-radius($input-border-radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control-color::-webkit-color-swatch {
|
&::-webkit-color-swatch {
|
||||||
|
height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height);
|
||||||
@include border-radius($input-border-radius);
|
@include border-radius($input-border-radius);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user