From 5c29d23f5afc57527fe3d797940954d789082c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsenije=20Savi=C4=87?= Date: Wed, 15 Mar 2023 20:44:49 -0600 Subject: [PATCH 1/2] fix(home): add default grid (#2084) --- src/pages/dho/Home.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/dho/Home.vue b/src/pages/dho/Home.vue index 2863c5574..71b1a8191 100644 --- a/src/pages/dho/Home.vue +++ b/src/pages/dho/Home.vue @@ -383,6 +383,10 @@ q-page.page-dashboard grid-row-gap: $space-md.y; min-height: 0; min-width: 0; + grid-template-columns: repeat(4, 1fr) 2fr; + grid-template-rows: minmax(0, 1fr); + grid-template-areas "assignments badges members proposals new new"\ + "support support how how new new" @media (max-width: $breakpoint-lg-max) grid-template-columns: repeat(4, 1fr) 2fr; From 32427f5c770bd207c381b9cf7a419dd6d6303192 Mon Sep 17 00:00:00 2001 From: Arsenije Savic Date: Mon, 20 Mar 2023 12:44:47 -0600 Subject: [PATCH 2/2] fix(home): add 2 column grid for smaller screens --- src/pages/dho/Home.vue | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/pages/dho/Home.vue b/src/pages/dho/Home.vue index 71b1a8191..1b2ce7fe3 100644 --- a/src/pages/dho/Home.vue +++ b/src/pages/dho/Home.vue @@ -388,20 +388,7 @@ q-page.page-dashboard grid-template-areas "assignments badges members proposals new new"\ "support support how how new new" - @media (max-width: $breakpoint-lg-max) - grid-template-columns: repeat(4, 1fr) 2fr; - grid-template-rows: minmax(0, 1fr); - grid-template-areas "assignments badges members proposals new new"\ - "support support how how new new" - @media (max-width: $breakpoint-md-max) - grid-template-columns: repeat(4, 1fr); - grid-template-rows: minmax(0, 1fr); - grid-template-areas "assignments badges members proposals"\ - "new new new new"\ - "support support how how" - - @media (max-width: $breakpoint-xs-max) grid-template-columns: repeat(2, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas "assignments badges"\ @@ -409,4 +396,5 @@ q-page.page-dashboard "new new"\ "support support"\ "how how" +