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 7e6050ba496..f6466237a8a 100644 --- a/packages/geoview-core/src/core/components/common/close-button.tsx +++ b/packages/geoview-core/src/core/components/common/close-button.tsx @@ -30,7 +30,7 @@ export function CloseButton({ isLayersPanelVisible, onSetIsLayersPanelVisible, f sx={{ ...sxClasses.enlargeBtn, marginLeft: '1rem', - ...(fullWidth ? sxClasses.appBarEnlargeBtn : sxClasses.footerBarEnlargeButton), + ...(fullWidth ? sxClasses.appBarEnlargeButton : sxClasses.footerBarEnlargeButton), ...(fullWidth && { display: !isLayersPanelVisible ? 'none' : 'block' }), ...(!fullWidth && { [theme.breakpoints.up('md')]: { display: 'none' }, diff --git a/packages/geoview-core/src/core/components/common/enlarge-button-style.tsx b/packages/geoview-core/src/core/components/common/enlarge-button-style.tsx index d067fdca477..5abb55701cb 100644 --- a/packages/geoview-core/src/core/components/common/enlarge-button-style.tsx +++ b/packages/geoview-core/src/core/components/common/enlarge-button-style.tsx @@ -27,7 +27,7 @@ export const getSxClasses = (theme: Theme) => ({ footerBarEnlargeButton: { width: '7rem !important', }, - appBarEnlargeBtn: { + appBarEnlargeButton: { width: '5rem !important', padding: '8px !important', },