From 7cf3ee5c8a70d6679abdb17eb4a4b4e81cd31149 Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Thu, 16 May 2024 09:38:53 +0200 Subject: [PATCH] fix(layout): improve layout for smaller screens - Shrink side panel - Collapse category nav and add tooltip to folder icon - Hide date and modification date columns in document list - Properly organize all SCSS files - Automatically hide side panel when no document is selected --- addon/components/category-nav.hbs | 4 +- addon/components/category-nav/category.hbs | 2 + addon/components/documents-side-panel.hbs | 2 +- addon/components/single-document-details.hbs | 2 +- app/styles/_responsive.scss | 53 ++++++++++++ .../_category.scss => _category-nav.scss} | 4 + app/styles/components/_document-details.scss | 4 + app/styles/components/_document-list.scss | 15 ++++ .../_skeleton.scss} | 0 app/styles/components/_tags.scss | 40 +++++++++ app/styles/ember-alexandria.scss | 81 +++---------------- 11 files changed, 132 insertions(+), 75 deletions(-) create mode 100644 app/styles/_responsive.scss rename app/styles/components/{category-nav/_category.scss => _category-nav.scss} (94%) rename app/styles/{_skeleton-loading.scss => components/_skeleton.scss} (100%) create mode 100644 app/styles/components/_tags.scss diff --git a/addon/components/category-nav.hbs b/addon/components/category-nav.hbs index 94804f6c..b59bc1c3 100644 --- a/addon/components/category-nav.hbs +++ b/addon/components/category-nav.hbs @@ -1,4 +1,4 @@ -