Change the location of theme & datalayer buttons

This commit is contained in:
Alireza Adli 2023-10-27 16:20:38 -04:00
parent 7c47757ef5
commit fa92037c79
2 changed files with 6 additions and 3 deletions

View File

@ -73,14 +73,14 @@
} }
.theme-switcher { .theme-switcher {
top: 77px; top: 87px;
} }
.theme-switcher .btn { .theme-switcher .btn {
min-width: 340px; min-width: 340px;
} }
.data-switcher { .data-switcher {
top: 117px; top: 127px;
} }
.data-switcher .btn { .data-switcher .btn {
min-width: 340px; min-width: 340px;

View File

@ -149,7 +149,10 @@ export const ColouringMap: FC<ColouringMapProps> = ({
mapColourScale={mapColourScale} mapColourScale={mapColourScale}
onMapColourScale={onMapColourScale} onMapColourScale={onMapColourScale}
/> />
<ThemeSwitcher
onSubmit={darkLightThemeSwitch}
currentTheme={darkLightTheme}
/>
<DataLayerSwitcher /> <DataLayerSwitcher />
{showLayerSelection == "enabled" ? ( {showLayerSelection == "enabled" ? (
<> <>