diff options
Diffstat (limited to 'js/bootstrap-patch.css')
-rw-r--r-- | js/bootstrap-patch.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/bootstrap-patch.css b/js/bootstrap-patch.css new file mode 100644 index 0000000..db40801 --- /dev/null +++ b/js/bootstrap-patch.css @@ -0,0 +1,13 @@ +/* bootstrap hack: fix content width inside hidden tabs
+ http://stackoverflow.com/a/23267110/2132223
+ */
+.tab-content > .tab-pane,
+.pill-content > .pill-pane {
+ display: block !important; /* 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 */
|