From 513553667ff2f3bb49cd0fbdbbc814c6d14e0ecc Mon Sep 17 00:00:00 2001
From: Sara Boutej <40363501+SaraBoutej@users.noreply.github.com>
Date: Fri, 5 Jul 2024 15:15:25 +0100
Subject: [PATCH] feat: Review UX to add node - MEED-6834 - Meeds-io/MIPs#137
(#154)
---
.../SiteNavigationElementDrawer.vue | 2 +-
.../SiteNavigationExistingPageElement.vue | 5 ++---
.../SiteNavigationNewPageElementItem.vue | 15 +++++++++++----
.../site-navigation/SiteNavigationNodeDrawer.vue | 6 +++---
4 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationElementDrawer.vue b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationElementDrawer.vue
index 12e527b49..ce9f689ca 100644
--- a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationElementDrawer.vue
+++ b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationElementDrawer.vue
@@ -74,7 +74,7 @@ export default {
navigationNode: null,
elementName: null,
elementTitle: null,
- pageTemplate: 'empty',
+ pageTemplate: null,
selectedPage: null,
loading: false,
resetDrawer: true,
diff --git a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationExistingPageElement.vue b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationExistingPageElement.vue
index c574c557b..01e59ac0a 100644
--- a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationExistingPageElement.vue
+++ b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationExistingPageElement.vue
@@ -31,13 +31,12 @@
v-if="!allSites"
v-model="selectedSiteNavigation"
:all-sites="allSites"
- class="mb-6" />
+ :class="!allSites && 'mb-8'" />