2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Fixes #12593: Add support for table bodies and table rows to the collapse plugin

This commit is contained in:
Mark Otto
2014-03-03 21:39:53 -08:00
parent cb3cc42315
commit e381635b1f
6 changed files with 15 additions and 7 deletions
+6
View File
@@ -2366,6 +2366,12 @@ input[type="button"].btn-block {
.collapse.in { .collapse.in {
display: block; display: block;
} }
tr.collapse.in {
display: table-row;
}
tbody.collapse.in {
display: table-row-group;
}
.collapsing { .collapsing {
position: relative; position: relative;
height: 0; height: 0;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -3
View File
@@ -17,10 +17,12 @@
.collapse { .collapse {
display: none; display: none;
&.in {
display: block; &.in { display: block; }
} tr&.in { display: table-row; }
tbody&.in { display: table-row-group; }
} }
.collapsing { .collapsing {
position: relative; position: relative;
height: 0; height: 0;