From f232da73978b40bba14cdc9689d95c7ff66ad8cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Sat, 9 Nov 2024 22:15:23 +0100 Subject: [PATCH] adjust sidebar menu h3 --- .../section-sidebar-menu/section-sidebar-menu.element.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/menu/section-sidebar-menu/section-sidebar-menu.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/menu/section-sidebar-menu/section-sidebar-menu.element.ts index cbf60d85a92c..7a41f5ea99df 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/menu/section-sidebar-menu/section-sidebar-menu.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/menu/section-sidebar-menu/section-sidebar-menu.element.ts @@ -27,6 +27,10 @@ export class UmbSectionSidebarMenuElement< manifest?: ManifestType; renderHeader() { + /* + Notice we are not using the UUI-H3 here, we would need to wrap it into uui-text for this to take action, + but it does look odd so lets return to this later. I have made a few corrections especially for this component. [NL] + */ return html`

${this.localize.string(this.manifest?.meta?.label ?? '')}

`; } @@ -44,7 +48,9 @@ export class UmbSectionSidebarMenuElement< UmbTextStyles, css` h3 { + margin: var(--uui-size-5) 0; padding: var(--uui-size-4) var(--uui-size-8); + font-size: 15px; } `, ];