mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Fixes #10516: Use auto positioning for dropdowns in justified nav to fix Firefox rendering
This commit is contained in:
Vendored
+10
@@ -4131,6 +4131,11 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-tabs.nav-justified > .dropdown .dropdown-menu {
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.nav-tabs.nav-justified > li {
|
.nav-tabs.nav-justified > li {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
@@ -4212,6 +4217,11 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-justified > .dropdown .dropdown-menu {
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.nav-justified > li {
|
.nav-justified > li {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -178,6 +178,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .dropdown .dropdown-menu {
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: @screen-sm-min) {
|
@media (min-width: @screen-sm-min) {
|
||||||
> li {
|
> li {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
|||||||
Reference in New Issue
Block a user