Skip to content

Commit

Permalink
print report, aoi hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
mluena committed Jan 19, 2024
1 parent 35075c8 commit 27ae079
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions src/containers/locations-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { useSearch } from 'hooks/search';

import { useLocations } from 'containers/datasets/locations/hooks';
import { Location } from 'containers/datasets/locations/types';
import HighlightedPlacesMobile from 'containers/locations-list/mobile/highlighted-places';
// import HighlightedPlacesMobile from 'containers/locations-list/mobile/highlighted-places';

import HighlightedPlaces from 'components/highlighted-places';
// import HighlightedPlaces from 'components/highlighted-places';
import Icon from 'components/icon';
import { Media } from 'components/media-query';
// import { Media } from 'components/media-query';
import { breakpoints } from 'styles/styles.config';

import CLOSE_SVG from 'svgs/ui/close.svg?sprite';
Expand Down Expand Up @@ -145,13 +145,15 @@ const LocationsList = ({ onSelectLocation }: { onSelectLocation?: () => void })
)}
</div>

<Media lessThan="md">
{/* <Media lessThan="md">
<HighlightedPlacesMobile />
</Media>
<Media greaterThanOrEqual="md">
<HighlightedPlaces onSelectLocation={onSelectLocation} />
</Media>
<div className="relative min-h-[70vh] md:min-h-[50vh]">
</Media> */}
<div className="relative h-full">
<AutoSizer>
{({ width, height }) => (
<List
Expand Down
2 changes: 1 addition & 1 deletion src/containers/navigation/mobile/configure/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ConfigureWidgets = () => {
<Icon
icon={CONFIGS_SVG}
className="h-8 w-8 fill-white text-white"
description="Configure widgets"
description="Explore data"
/>
<span className="leading-2 font-sans text-xxs text-white">Configure</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/containers/widgets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const WidgetsContainer: React.FC = () => {
true,
})}
>
<p>Configure widgets</p>
<p>Explore data</p>
</button>
</DialogTrigger>
</Helper>
Expand Down Expand Up @@ -201,7 +201,7 @@ const WidgetsContainer: React.FC = () => {
})}
</div>
)}
{!!widgets.length && !mapSettings ? (
{/* {!!widgets.length && !mapSettings ? (
<div className="flex w-full justify-center py-4 print:hidden">
<Helper
className={{
Expand Down Expand Up @@ -229,7 +229,7 @@ const WidgetsContainer: React.FC = () => {
</div>
</Helper>
</div>
) : null}
) : null} */}
</WidgetsLayout>
);
};
Expand Down

0 comments on commit 27ae079

Please sign in to comment.