From 1ad358fa0aee5b576dd928a7c8cd20999da99a05 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 13 Jul 2018 15:25:04 -0400 Subject: [PATCH] improving screened email and url section of admin on mobile --- .../stylesheets/common/admin/staff_logs.scss | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/app/assets/stylesheets/common/admin/staff_logs.scss b/app/assets/stylesheets/common/admin/staff_logs.scss index 0a047f6a6bc..883504061b2 100644 --- a/app/assets/stylesheets/common/admin/staff_logs.scss +++ b/app/assets/stylesheets/common/admin/staff_logs.scss @@ -315,6 +315,44 @@ table.screened-ip-addresses { } } +// Screened URLs + +@include breakpoint(tablet) { + .screened-urls { + td.domain { + grid-column-start: 1; + grid-column-end: 3; + word-wrap: break-word; + } + } +} + +// Screened emails +.screened-emails { + td.ip_address { + word-wrap: break-word; + @include breakpoint(tablet, min-width) { + max-width: 20vw; + } + } + + @include breakpoint(tablet) { + td.email { + grid-column-start: 1; + grid-column-end: 3; + word-wrap: break-word; + } + td.ip_address { + grid-row: 2; + grid-column-start: 1; + grid-column-end: -1; + } + td.action { + margin-top: 0.25em; + } + } +} + // Watched words .watched-word-box {