From 7a5ea89fd9cc1010c6d42e4bac43e83157fbcc41 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Tue, 6 Sep 2022 14:06:26 +0530 Subject: [PATCH] chore: Sidebar improvements in small screens (#5400) * chore: Sidebar improvements in small screens * chore: Minor fixes --- .../dashboard/components/layout/Sidebar.vue | 44 +++++++++++++------ .../sidebarComponents/AccountContext.vue | 10 +++-- .../layout/sidebarComponents/Secondary.vue | 23 ++++++++-- .../dashboard/routes/dashboard/Dashboard.vue | 12 ++--- .../components/HelpCenterLayout.vue | 5 +++ .../helpcenter/components/Sidebar/Sidebar.vue | 9 ++++ .../routes/dashboard/notifications/routes.js | 1 + .../dashboard/settings/SettingsHeader.vue | 6 ++- .../routes/dashboard/settings/Wrapper.vue | 5 +++ 9 files changed, 87 insertions(+), 28 deletions(-) diff --git a/app/javascript/dashboard/components/layout/Sidebar.vue b/app/javascript/dashboard/components/layout/Sidebar.vue index ca6524db32781..9048779ef2c81 100644 --- a/app/javascript/dashboard/components/layout/Sidebar.vue +++ b/app/javascript/dashboard/components/layout/Sidebar.vue @@ -11,25 +11,27 @@ @key-shortcut-modal="toggleKeyShortcutModal" @open-notification-panel="openNotificationPanel" /> - +
+ +
diff --git a/app/javascript/dashboard/routes/dashboard/Dashboard.vue b/app/javascript/dashboard/routes/dashboard/Dashboard.vue index f88aefe3a683d..03c37d4843c99 100644 --- a/app/javascript/dashboard/routes/dashboard/Dashboard.vue +++ b/app/javascript/dashboard/routes/dashboard/Dashboard.vue @@ -2,7 +2,7 @@
diff --git a/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue b/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue index e043adba37373..347318fcfd460 100644 --- a/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue +++ b/app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue @@ -273,3 +273,8 @@ export default { }, }; + diff --git a/app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue b/app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue index e75580b68be9b..e6dc1f427b702 100644 --- a/app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue +++ b/app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue @@ -87,6 +87,7 @@ export default {