From cb5e6e2c3cc8812336463069769cb32f7679712a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Sat, 23 Dec 2023 10:51:41 +0100 Subject: [PATCH 1/4] fix(NcAppNavigationItem): fix styling when using active prop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- src/components/NcAppNavigationItem/NcAppNavigationItem.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NcAppNavigationItem/NcAppNavigationItem.vue b/src/components/NcAppNavigationItem/NcAppNavigationItem.vue index 50e9e3eed6..33547d57d3 100644 --- a/src/components/NcAppNavigationItem/NcAppNavigationItem.vue +++ b/src/components/NcAppNavigationItem/NcAppNavigationItem.vue @@ -298,7 +298,7 @@ Just set the `pinned` prop. @@ -328,7 +328,7 @@ Just set the `pinned` prop. :boundaries-element="actionsBoundariesElement" :placement="menuPlacement" :open="menuOpen" - :type="isActive && to ? 'primary' : null" + :type="(isActive && to) || active ? 'primary' : null" :force-menu="forceMenu" :default-icon="menuIcon" @update:open="onMenuToggle"> From 22fb60f54e375f8620fc753dbbd43195daf51a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Sat, 23 Dec 2023 10:53:07 +0100 Subject: [PATCH 2/4] fix(NcAppNavigationItem): remove unused CSS class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- src/assets/NcAppNavigationItem.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/assets/NcAppNavigationItem.scss b/src/assets/NcAppNavigationItem.scss index 79dbfcc6c6..985bc87962 100644 --- a/src/assets/NcAppNavigationItem.scss +++ b/src/assets/NcAppNavigationItem.scss @@ -34,7 +34,7 @@ } // overwrite active text color - .app-navigation-entry-link, .app-navigation-entry-button { + .app-navigation-entry-link { color: var(--color-primary-element-text) !important; } } @@ -68,14 +68,12 @@ display: none; } - &:not(.app-navigation-entry--editing) { - .app-navigation-entry-link, .app-navigation-entry-button { - padding-right: $icon-margin; - } + &:not(.app-navigation-entry--editing) .app-navigation-entry-link { + padding-right: $icon-margin; } // Main entry link - .app-navigation-entry-link, .app-navigation-entry-button { + .app-navigation-entry-link { z-index: 100; /* above the bullet to allow click*/ display: flex; overflow: hidden; From 3378be11beb0000a85ba5a03108b3f6fbdac7f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Sat, 23 Dec 2023 10:57:26 +0100 Subject: [PATCH 3/4] fix(NcAppNavigationItem): fix HTML structure of docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- .../NcAppNavigationCaption.vue | 8 +- .../NcAppNavigationItem.vue | 195 ++++++++++-------- 2 files changed, 112 insertions(+), 91 deletions(-) diff --git a/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue b/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue index 9fbdd26d54..75eb16a2cd 100644 --- a/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue +++ b/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue @@ -1,7 +1,7 @@ ```vue