From 46ea031e66832cc19654bc8c1cf6dd2fb543efdf Mon Sep 17 00:00:00 2001 From: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com> Date: Mon, 18 Nov 2024 08:30:34 -0500 Subject: [PATCH] [ENG-6401] Mobile styling (#2398) --- .../styles.scss | 4 +- .../institutional-users-list/styles.scss | 15 ++ .../institutional-users-list/template.hbs | 184 +++++++++--------- 3 files changed, 112 insertions(+), 91 deletions(-) diff --git a/app/institutions/dashboard/-components/institutional-dashboard-wrapper/styles.scss b/app/institutions/dashboard/-components/institutional-dashboard-wrapper/styles.scss index 08a87d59c7..4e024d7996 100644 --- a/app/institutions/dashboard/-components/institutional-dashboard-wrapper/styles.scss +++ b/app/institutions/dashboard/-components/institutional-dashboard-wrapper/styles.scss @@ -29,9 +29,9 @@ @include tab-list; white-space: nowrap; display: flex; - flex-wrap: wrap; + flex-wrap: nowrap; position: relative; - overflow: visible; + overflow-x: auto; margin-bottom: 0; border-bottom: 0; diff --git a/app/institutions/dashboard/-components/institutional-users-list/styles.scss b/app/institutions/dashboard/-components/institutional-users-list/styles.scss index 08e3b9219f..a3c1de0d03 100644 --- a/app/institutions/dashboard/-components/institutional-users-list/styles.scss +++ b/app/institutions/dashboard/-components/institutional-users-list/styles.scss @@ -292,3 +292,18 @@ input:checked + .slider::before { } } +.flex { + display: flex; + align-items: center; +} + +.top-wrapper { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; +} + +.right-button-group { + justify-content: flex-end; + margin-right: 15px; +} diff --git a/app/institutions/dashboard/-components/institutional-users-list/template.hbs b/app/institutions/dashboard/-components/institutional-users-list/template.hbs index 27fb78b049..9dc6871c85 100644 --- a/app/institutions/dashboard/-components/institutional-users-list/template.hbs +++ b/app/institutions/dashboard/-components/institutional-users-list/template.hbs @@ -8,97 +8,103 @@ {{t 'institutions.dashboard.users_list.total_users'}} -
- - -
- - {{department}} - - - - {{#if dd.isOpen}} -
-
- {{#each this.columns as |column|}} - - {{/each}} -
-
- - -
+
+
+
+ +
- {{/if}} - -
- {{#if @institution.linkToExternalReportsArchive}} - - - {{t 'institutions.dashboard.download_past_reports_label'}} - - - - {{/if}} -
- - - - - - - - - - - + {{department}} + +
+
+ + + {{#if dd.isOpen}} +
+
+ {{#each this.columns as |column|}} + + {{/each}} +
+
+ + +
+
+ {{/if}} +
+
+ {{#if @institution.linkToExternalReportsArchive}} + + + {{t 'institutions.dashboard.download_past_reports_label'}} + + + + {{/if}} +
+ + + + + + + + + + + +
+