From 385535f421f9567f703463823ad865161cde0057 Mon Sep 17 00:00:00 2001 From: Jordan Vidrine <30537603+jordanvidrine@users.noreply.github.com> Date: Wed, 23 Jun 2021 12:42:16 -0500 Subject: [PATCH] UX: Hide email columns when `Hide Emails` is selected (#13502) * UX: Scroll user list container when emails are present --- .../javascripts/admin/addon/templates/users-list-show.hbs | 7 +++---- app/assets/stylesheets/common/admin/admin_base.scss | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/admin/addon/templates/users-list-show.hbs b/app/assets/javascripts/admin/addon/templates/users-list-show.hbs index ff66a923a29..a5700094c79 100644 --- a/app/assets/javascripts/admin/addon/templates/users-list-show.hbs +++ b/app/assets/javascripts/admin/addon/templates/users-list-show.hbs @@ -19,12 +19,12 @@ {{text-field value=listFilter placeholder=searchHint}} -{{#load-more selector=".users-list tr" action=(action "loadMore")}} +{{#load-more class="users-list-container" selector=".users-list tr" action=(action "loadMore")}} {{#if model}}
+ | {{~user.email~}} | @@ -98,7 +98,6 @@ |
{{i18n "search.no_results"}}
{{/if}} diff --git a/app/assets/stylesheets/common/admin/admin_base.scss b/app/assets/stylesheets/common/admin/admin_base.scss index 98e741171d3..f9e6186dfc2 100644 --- a/app/assets/stylesheets/common/admin/admin_base.scss +++ b/app/assets/stylesheets/common/admin/admin_base.scss @@ -425,6 +425,9 @@ $mobile-breakpoint: 700px; .controls { @include clearfix; } + .users-list-container { + overflow-x: auto; + } } .admin-title {