From abba806d405af9de44fea3734c542fa8ab7fef1b Mon Sep 17 00:00:00 2001 From: Davide Negretti Date: Mon, 26 Feb 2024 16:22:28 +0100 Subject: [PATCH] [DURACOM-195] replace ul/li with div in navbar --- .../expandable-navbar-section.component.html | 12 ++++++------ .../expandable-navbar-section.component.scss | 2 +- .../navbar-section/navbar-section.component.html | 7 +++---- src/app/navbar/navbar.component.html | 4 ++-- src/themes/dspace/app/navbar/navbar.component.html | 4 ++-- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html index 180ce16ba5..00752e7c04 100644 --- a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html +++ b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html @@ -1,4 +1,4 @@ - + + + diff --git a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.scss b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.scss index 961d450486..8849fbd809 100644 --- a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.scss +++ b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.scss @@ -1,5 +1,5 @@ :host { - li.ds-menu-item-wrapper { + .ds-menu-item-wrapper { position: relative; // align dropdown menu with respect to this element } diff --git a/src/app/navbar/navbar-section/navbar-section.component.html b/src/app/navbar/navbar-section/navbar-section.component.html index ac51c86342..1411d3b6a6 100644 --- a/src/app/navbar/navbar-section/navbar-section.component.html +++ b/src/app/navbar/navbar-section/navbar-section.component.html @@ -1,5 +1,4 @@ - + diff --git a/src/app/navbar/navbar.component.html b/src/app/navbar/navbar.component.html index 5e15315a9b..bda9815481 100644 --- a/src/app/navbar/navbar.component.html +++ b/src/app/navbar/navbar.component.html @@ -9,12 +9,12 @@ - + diff --git a/src/themes/dspace/app/navbar/navbar.component.html b/src/themes/dspace/app/navbar/navbar.component.html index ac4424c638..518d3bbe30 100644 --- a/src/themes/dspace/app/navbar/navbar.component.html +++ b/src/themes/dspace/app/navbar/navbar.component.html @@ -1,9 +1,9 @@ - +