mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 09:41:11 +00:00
fixes #9538: prevent Firefox rendering bug via some border-fu
This commit is contained in:
parent
0e39f94574
commit
0c70744ea2
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
@ -2473,6 +2473,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border-top: 4px solid #000000;
|
border-top: 4px solid #000000;
|
||||||
border-right: 4px solid transparent;
|
border-right: 4px solid transparent;
|
||||||
|
border-bottom: 0 dotted;
|
||||||
border-left: 4px solid transparent;
|
border-left: 4px solid transparent;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
@ -2591,7 +2592,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
|
|
||||||
.dropup .caret,
|
.dropup .caret,
|
||||||
.navbar-fixed-bottom .dropdown .caret {
|
.navbar-fixed-bottom .dropdown .caret {
|
||||||
border-top: 0;
|
border-top: 0 dotted;
|
||||||
border-bottom: 4px solid #000000;
|
border-bottom: 4px solid #000000;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
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
@ -13,6 +13,9 @@
|
|||||||
border-top: @caret-width-base solid @dropdown-caret-color;
|
border-top: @caret-width-base solid @dropdown-caret-color;
|
||||||
border-right: @caret-width-base solid transparent;
|
border-right: @caret-width-base solid transparent;
|
||||||
border-left: @caret-width-base solid transparent;
|
border-left: @caret-width-base solid transparent;
|
||||||
|
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once fixed,
|
||||||
|
// we can just straight up remove this.
|
||||||
|
border-bottom: 0 dotted;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -161,7 +164,9 @@
|
|||||||
.navbar-fixed-bottom .dropdown {
|
.navbar-fixed-bottom .dropdown {
|
||||||
// Reverse the caret
|
// Reverse the caret
|
||||||
.caret {
|
.caret {
|
||||||
border-top: 0;
|
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once this
|
||||||
|
// gets fixed, restore `border-top: 0;`.
|
||||||
|
border-top: 0 dotted;
|
||||||
border-bottom: 4px solid @dropdown-caret-color;
|
border-bottom: 4px solid @dropdown-caret-color;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user