From a50f52124b46a8cff873a3e97ce5d2ab78f2b890 Mon Sep 17 00:00:00 2001 From: kaminderpal Date: Thu, 16 Nov 2023 14:07:46 -0500 Subject: [PATCH] fix(time-slider): remove margin from iconstack #1494 --- .../core/components/common/close-button.tsx | 5 +- .../core/components/common/enlarge-button.tsx | 5 +- .../src/core/components/common/layer-list.tsx | 84 ++++--------------- .../components/common/responsive-grid.tsx | 3 +- .../core/components/data-table/data-panel.tsx | 45 ++++++++-- .../core/components/details/details-panel.tsx | 13 ++- .../time-slider/time-slider-panel.tsx | 2 +- packages/geoview-core/src/ui/grid/index.ts | 2 + 8 files changed, 80 insertions(+), 79 deletions(-) diff --git a/packages/geoview-core/src/core/components/common/close-button.tsx b/packages/geoview-core/src/core/components/common/close-button.tsx index 40ed6202c1a..bd95b7b0bf5 100644 --- a/packages/geoview-core/src/core/components/common/close-button.tsx +++ b/packages/geoview-core/src/core/components/common/close-button.tsx @@ -16,10 +16,11 @@ interface CloseButtonProps { * @returns JSX.element */ export function CloseButton({ isLayersPanelVisible, setIsLayersPanelVisible }: CloseButtonProps) { - const { t } = useTranslation(); - const theme = useTheme(); + const { t } = useTranslation(); + const theme = useTheme(); const sxClasses = getSxClasses(theme); + return (