Created
May 27, 2015 08:46
-
-
Save kyungw00k/7c92b76d71db460f2b7b to your computer and use it in GitHub Desktop.
bootstrap hack: fix content width inside hidden tabs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* bootstrap hack: fix content width inside hidden tabs */ | |
.tab-content > .tab-pane, | |
.pill-content > .pill-pane { | |
display: block; /* undo display:none */ | |
height: 0; /* height:0 is also invisible */ | |
overflow-y: hidden; /* no-overflow */ | |
} | |
.tab-content > .active, | |
.pill-content > .active { | |
height: auto; /* let the content decide it */ | |
} /* bootstrap hack end */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment