Commit e381635b authored by Mark Otto's avatar Mark Otto

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

parent cb3cc423
...@@ -2366,6 +2366,12 @@ input[type="button"].btn-block { ...@@ -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;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -17,10 +17,12 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment