diff --git a/webapp/src/components/GeoMap/styles.js b/webapp/src/components/GeoMap/styles.js index 624f8aa0..058cb16b 100644 --- a/webapp/src/components/GeoMap/styles.js +++ b/webapp/src/components/GeoMap/styles.js @@ -1,7 +1,7 @@ export default (theme) => ({ mapWrapper: { backgroundColor: theme.palette.common.white, - marginTop: theme.spacing(3) + marginTop: theme.spacing(3), }, goBackBtnHidden: { display: 'none !important' @@ -11,6 +11,8 @@ export default (theme) => ({ marginLeft: theme.spacing(1) }, divRef: { - height: '100vh' + height: '100vh', + boxShadow: '0px 1px 5px rgba(0, 0, 0, 0.15)', + } }) diff --git a/webapp/src/routes/NodesDistribution/index.js b/webapp/src/routes/NodesDistribution/index.js index 56906abd..2c0e9d31 100644 --- a/webapp/src/routes/NodesDistribution/index.js +++ b/webapp/src/routes/NodesDistribution/index.js @@ -1,26 +1,34 @@ /* eslint camelcase: 0 */ import React, { lazy } from 'react' import LinearProgress from '@mui/material/LinearProgress' +import { makeStyles } from '@mui/styles' import useNodeDistributionState from '../../hooks/customHooks/useNodeDistributionState' +import styles from './styles' + const SearchBar = lazy(() => import('../../components/SearchBar')) const GeoMap = lazy(() => import('../../components/GeoMap')) +const useStyles = makeStyles(styles) const Nodes = () => { + const classes = useStyles() + const [{ filters, chips, nodes, loading }, { handleOnFiltersChange }] = useNodeDistributionState() return ( -