From b9a14aba7d25e89b7616bf2bb3850f98c244c4d9 Mon Sep 17 00:00:00 2001 From: "amir.azma" Date: Tue, 14 Nov 2023 17:05:56 -0500 Subject: [PATCH] fix(time-slider): Fix time slider stack icon --- .../src/core/components/icon-stack/icon-stack.tsx | 10 +++++++++- .../core/components/time-slider/time-slider-style.ts | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/geoview-core/src/core/components/icon-stack/icon-stack.tsx b/packages/geoview-core/src/core/components/icon-stack/icon-stack.tsx index d87e455d49e..b47668486f5 100644 --- a/packages/geoview-core/src/core/components/icon-stack/icon-stack.tsx +++ b/packages/geoview-core/src/core/components/icon-stack/icon-stack.tsx @@ -58,5 +58,13 @@ export function IconStack({ layerPath, onIconClick, onStackIconClick }: TypeIcon {iconImg && icon} - ) : null; + ) : ( + onStackIconClick?.(e)}> + + + + + + + ); } diff --git a/packages/geoview-core/src/core/components/time-slider/time-slider-style.ts b/packages/geoview-core/src/core/components/time-slider/time-slider-style.ts index 2e98d7c3e61..07361d56721 100644 --- a/packages/geoview-core/src/core/components/time-slider/time-slider-style.ts +++ b/packages/geoview-core/src/core/components/time-slider/time-slider-style.ts @@ -96,6 +96,7 @@ export const getSxClasses = (theme: Theme) => ({ }, gridContainer: { paddingLeft: '1rem', paddingRight: '1rem' }, listPrimaryText: { + marginLeft: '0.62rem', minWidth: '0', padding: '1.3rem 0', flex: '1 1 auto',