summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-24 14:06:55 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-24 14:06:55 -0500
commit5049cbdbd208fe01e466349fb2b4d3c9292071b2 (patch)
treed7acb2d4579fbf0bf5595206c6b6edf1acfec202
parent5a6e849283685eac28941f74861514b5185419c8 (diff)
downloadgitlab-ce-5049cbdbd208fe01e466349fb2b4d3c9292071b2.tar.gz
Add table-header-group display class
-rw-r--r--app/assets/stylesheets/bootstrap_migration.scss10
-rw-r--r--app/views/admin/abuse_reports/index.html.haml2
2 files changed, 11 insertions, 1 deletions
diff --git a/app/assets/stylesheets/bootstrap_migration.scss b/app/assets/stylesheets/bootstrap_migration.scss
index 26881908526..0e23ecd156a 100644
--- a/app/assets/stylesheets/bootstrap_migration.scss
+++ b/app/assets/stylesheets/bootstrap_migration.scss
@@ -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 {
diff --git a/app/views/admin/abuse_reports/index.html.haml b/app/views/admin/abuse_reports/index.html.haml
index aeda361a9cb..cc29657a439 100644
--- a/app/views/admin/abuse_reports/index.html.haml
+++ b/app/views/admin/abuse_reports/index.html.haml
@@ -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