diff --git a/packages/geoview-core/public/css/style.css b/packages/geoview-core/public/css/style.css index 9a69fdd5903..7a42c3153d1 100644 --- a/packages/geoview-core/public/css/style.css +++ b/packages/geoview-core/public/css/style.css @@ -211,4 +211,10 @@ table.state { .config-json-valid { color: green +} + +@media only screen and (max-width: 767px) { + body { + padding: 2px; /* Adjust the value as needed */ + } } \ No newline at end of file diff --git a/packages/geoview-core/src/core/components/footer-bar/footer-bar.tsx b/packages/geoview-core/src/core/components/footer-bar/footer-bar.tsx index 5e24243ea6e..1d25161e651 100644 --- a/packages/geoview-core/src/core/components/footer-bar/footer-bar.tsx +++ b/packages/geoview-core/src/core/components/footer-bar/footer-bar.tsx @@ -450,7 +450,7 @@ export function FooterBar(): JSX.Element | null { + ); @@ -185,13 +185,7 @@ export function SingleLayer({ isDragging, depth, layer, setIsLayersListPanelVisi } return ( - handleToggleVisibility()} - tooltip="layers.toggleVisibility" - className="style1" - > + handleToggleVisibility()} tooltip="layers.toggleVisibility" className="style1"> {(() => { if (layer.isVisible === 'no') return ; return ; diff --git a/packages/geoview-core/src/ui/style/themeOptionsGenerator.ts b/packages/geoview-core/src/ui/style/themeOptionsGenerator.ts index 336606fef44..5dce8d7a2fe 100644 --- a/packages/geoview-core/src/ui/style/themeOptionsGenerator.ts +++ b/packages/geoview-core/src/ui/style/themeOptionsGenerator.ts @@ -237,7 +237,8 @@ export const generateThemeOptions = (geoViewColors: IGeoViewColors = defaultGeoV color: `${geoViewColors.bgColor.dark[450]}`, }, }, - '&.style3': { //used for app-bar buttons + '&.style3': { + // used for app-bar buttons backgroundColor: `tranparent`, border: `2px solid transparent`, color: `${geoViewColors.primary.main}`, @@ -250,7 +251,7 @@ export const generateThemeOptions = (geoViewColors: IGeoViewColors = defaultGeoV '&:disabled': { color: `${geoViewColors.bgColor.dark[450]}`, }, - } + }, }, }, }, diff --git a/packages/geoview-layers-panel/src/reorder-layers-list.tsx b/packages/geoview-layers-panel/src/reorder-layers-list.tsx index 6bb12492720..db71724e1fb 100644 --- a/packages/geoview-layers-panel/src/reorder-layers-list.tsx +++ b/packages/geoview-layers-panel/src/reorder-layers-list.tsx @@ -65,7 +65,7 @@ function ReorderLayersList({ mapId, title, layerIds, setReorderLayersVisible, se return ( <> - setReorderLayersVisible(false)}> + setReorderLayersVisible(false)}>