diff --git a/web/src/elements/sidebar/Sidebar.ts b/web/src/elements/sidebar/Sidebar.ts
index bf639b84e..4801f04da 100644
--- a/web/src/elements/sidebar/Sidebar.ts
+++ b/web/src/elements/sidebar/Sidebar.ts
@@ -73,22 +73,18 @@ export class SidebarItem {
return html``;
}
}
- return html`
- ${this.path ?
- html`
- ${this.name}
- ` :
- html`
- ${this.name}
-
-
-
-
-
-
- ${this._children.map((i) => until(i.render(activePath), html``))}
-
- `}
+ if (!this.path) {
+ return html`
+ ${this.name}
+
+ ${this._children.map((i) => until(i.render(activePath), html``))}
+
+ `;
+ }
+ return html`
+
+ ${this.name}
+
`;
}
}
@@ -108,6 +104,15 @@ export class Sidebar extends LitElement {
NavStyle,
AKGlobal,
css`
+ .pf-c-nav__link.pf-m-current::after,
+ .pf-c-nav__link.pf-m-current:hover::after,
+ .pf-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-c-nav__link::after {
+ --pf-c-nav__link--m-current--after--BorderColor: #fd4b2d;
+ }
+
+ .pf-c-nav__section + .pf-c-nav__section {
+ --pf-c-nav__section--section--MarginTop: var(--pf-global--spacer--sm);
+ }
.pf-c-nav__list .sidebar-brand {
max-height: 82px;
margin-bottom: -0.5rem;
@@ -129,8 +134,11 @@ export class Sidebar extends LitElement {
--pf-c-nav__link--PaddingRight: 0.5rem;
--pf-c-nav__link--PaddingBottom: 0.5rem;
}
- .pf-c-nav__subnav {
- --pf-c-nav__subnav--PaddingBottom: 0px;
+ .pf-c-nav__section-title {
+ font-size: 12px;
+ }
+ .pf-c-nav__item {
+ --pf-c-nav__item--MarginTop: 0px;
}
`,
];