mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-01 03:10:14 +02:00
fix #2811: left and right aligned tabbable tabs fixes so that .tab-content grows to match parent's width
This commit is contained in:
Binary file not shown.
7
docs/assets/css/bootstrap.css
vendored
7
docs/assets/css/bootstrap.css
vendored
@@ -2780,8 +2780,7 @@ input[type="submit"].btn.btn-mini {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.tab-content {
|
.tab-content {
|
||||||
display: table;
|
overflow: auto;
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
.tabs-below .nav-tabs,
|
.tabs-below .nav-tabs,
|
||||||
.tabs-right .nav-tabs,
|
.tabs-right .nav-tabs,
|
||||||
@@ -2816,10 +2815,6 @@ input[type="submit"].btn.btn-mini {
|
|||||||
.tabs-below .nav-tabs .active > a:hover {
|
.tabs-below .nav-tabs .active > a:hover {
|
||||||
border-color: transparent #ddd #ddd #ddd;
|
border-color: transparent #ddd #ddd #ddd;
|
||||||
}
|
}
|
||||||
.tabs-left .tab-content,
|
|
||||||
.tabs-right .tab-content {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
.tabs-left .nav-tabs > li,
|
.tabs-left .nav-tabs > li,
|
||||||
.tabs-right .nav-tabs > li {
|
.tabs-right .nav-tabs > li {
|
||||||
float: none;
|
float: none;
|
||||||
|
@@ -266,8 +266,7 @@
|
|||||||
.clearfix();
|
.clearfix();
|
||||||
}
|
}
|
||||||
.tab-content {
|
.tab-content {
|
||||||
display: table; // prevent content from running below tabs
|
overflow: auto; // prevent content from running below tabs
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove border on bottom, left, right
|
// Remove border on bottom, left, right
|
||||||
@@ -314,10 +313,6 @@
|
|||||||
// ------------
|
// ------------
|
||||||
|
|
||||||
// Common styles
|
// Common styles
|
||||||
.tabs-left .tab-content,
|
|
||||||
.tabs-right .tab-content {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
.tabs-left .nav-tabs > li,
|
.tabs-left .nav-tabs > li,
|
||||||
.tabs-right .nav-tabs > li {
|
.tabs-right .nav-tabs > li {
|
||||||
float: none;
|
float: none;
|
||||||
|
Reference in New Issue
Block a user