]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix #2811: left and right aligned tabbable tabs fixes so that .tab-content grows...
authorMark Otto <markotto@twitter.com>
Sun, 1 Apr 2012 07:15:04 +0000 (00:15 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 1 Apr 2012 07:15:04 +0000 (00:15 -0700)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/navs.less

index 674503a73fe58ed9baa788b40cb3dc28ec43c3a8..3f7c2b967e48aabe503003a6fd2c8f028465c9fc 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 201d917a8a53e60e0063102b42f5172764d51601..7f47a21249c83cf8c1ec2c587f97bc0590a6675a 100644 (file)
@@ -2780,8 +2780,7 @@ input[type="submit"].btn.btn-mini {
   clear: both;
 }
 .tab-content {
-  display: table;
-  width: 100%;
+  overflow: auto;
 }
 .tabs-below .nav-tabs,
 .tabs-right .nav-tabs,
@@ -2816,10 +2815,6 @@ input[type="submit"].btn.btn-mini {
 .tabs-below .nav-tabs .active > a:hover {
   border-color: transparent #ddd #ddd #ddd;
 }
-.tabs-left .tab-content,
-.tabs-right .tab-content {
-  width: auto;
-}
 .tabs-left .nav-tabs > li,
 .tabs-right .nav-tabs > li {
   float: none;
index a02be18f0658cdc1ce5e3abcf634e1a9c95d1025..4f4b6c3273af475294e7f01826be451f706cdf6d 100644 (file)
   .clearfix();
 }
 .tab-content {
-  display: table; // prevent content from running below tabs
-  width: 100%;
+  overflow: auto; // prevent content from running below tabs
 }
 
 // Remove border on bottom, left, right
 // ------------
 
 // Common styles
-.tabs-left .tab-content,
-.tabs-right .tab-content {
-  width: auto;
-}
 .tabs-left .nav-tabs > li,
 .tabs-right .nav-tabs > li {
   float: none;