8000 cosmetic patch for collision on certain conditions · pythonAI/bootstrap-table@d97744a · GitHub
[go: up one dir, main page]

Skip to content

Commit d97744a

Browse files
juliyvchirkovwenzhixin
authored andcommitted
cosmetic patch for collision on certain conditions
the collision is faced when group-by-v2 plugin is used along w/ enabled detailView — if one expands one or more rows in a group into detailView mode & then clicks on tr.groupBy row to collapse this group, the source rows become hidden just as expected, but their detailView representations still stay visible & expanded applied patch fixes the issue
1 parent 2c2ced8 commit d97744a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/extensions/group-by-v2/bootstrap-table-group-by.css

Lines changed: 5 additions & 1 deletion
< 5B16 td data-grid-cell-id="diff-07b32d03cc14f48fe6b9b10a03c266c36af3b561103102c7c8aabb4ce22a5139-6-6-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">6
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@
44

55
.bootstrap-table .table > tbody > tr.groupBy.expanded {
6

7-
}
7+
}
8+
9+
.bootstrap-table .table > tbody > tr.groupBy + tr.hidden + tr.detail-view {
10+
display: none;
11+
}

0 commit comments

Comments
 (0)
0