From 9d919406c42e92e9bbc811eaad49b4183740a5f0 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 20 Jul 2018 09:15:25 -0400 Subject: [PATCH] FIX: improves trending-search and top-referred on mobile --- .../stylesheets/mobile/admin_report.scss | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/app/assets/stylesheets/mobile/admin_report.scss b/app/assets/stylesheets/mobile/admin_report.scss index 29656b35603..2af96e2b4fc 100644 --- a/app/assets/stylesheets/mobile/admin_report.scss +++ b/app/assets/stylesheets/mobile/admin_report.scss @@ -8,3 +8,32 @@ } } } + +.admin-report.top-referred-topics { + .admin-report-table { + .report-table { + table-layout: fixed; + + thead tr th.topic_title, + tbody tr td.topic_title { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + width: 80%; + } + } + } +} + +.admin-report.trending-search { + .admin-report-table { + .report-table { + table-layout: fixed; + + thead tr th.term, + tbody tr td.term { + width: 50%; + } + } + } +}