From c25cd630228efbae83ae803b9441ac5a913688cb Mon Sep 17 00:00:00 2001 From: Bryan Cunningham Date: Mon, 10 Nov 2025 16:27:35 -0500 Subject: [PATCH] [CL-924] fix nested nav indentation (#17317) * fix nav indentation * move padding logic to component * add jsdoc for padding calculation * access open value correctly --- .../src/navigation/nav-group.stories.ts | 3 +++ .../src/navigation/nav-item.component.html | 11 ++++------ .../src/navigation/nav-item.component.ts | 22 ++++++++++++++++--- 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/libs/components/src/navigation/nav-group.stories.ts b/libs/components/src/navigation/nav-group.stories.ts index fc9df19a3e..d5c381ac3e 100644 --- a/libs/components/src/navigation/nav-group.stories.ts +++ b/libs/components/src/navigation/nav-group.stories.ts @@ -145,6 +145,9 @@ export const Tree: StoryObj = { + + + diff --git a/libs/components/src/navigation/nav-item.component.html b/libs/components/src/navigation/nav-item.component.html index 9f6ea3373b..1de8a9bd16 100644 --- a/libs/components/src/navigation/nav-item.component.html +++ b/libs/components/src/navigation/nav-item.component.html @@ -3,10 +3,7 @@ @if (open || icon()) {