Add table-header-group display class

This commit is contained in:
Clement Ho 2018-04-24 14:06:55 -05:00
parent 5a6e849283
commit 5049cbdbd2
2 changed files with 11 additions and 1 deletions

View File

@ -52,6 +52,16 @@ table {
pointer-events: none;
}
@each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
.d#{$infix}-table-header-group { display: table-header-group !important; }
}
}
// Polyfill deprecated selectors
.hidden {

View File

@ -5,7 +5,7 @@
- if @abuse_reports.present?
.table-holder
%table.table.responsive-table
%thead.d-none.d-sm-none.d-md-block
%thead.d-none.d-sm-none.d-md-table-header-group
%tr
%th User
%th Reported by