Skip to content

Commit

Permalink
frontend fix
Browse files Browse the repository at this point in the history
  • Loading branch information
avi278 committed May 5, 2024
1 parent a55018a commit 24e1029
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 2 additions & 4 deletions src/components/bootstrap/layers/layers.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@
}

.tabs__nav a:hover{
font-size: 25px;
color: var(--text-color-hover);
color: var(--text-color-hover-layers);
}

.tabs__nav li:has(a:hover) {
font-size: 25px;
color: var(--text-color-hover);
color: var(--text-color-hover-layers);
}

.tabs__nav li:has(a.tab__active) {
Expand Down
4 changes: 4 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@

--text-color: #ffffff;
--text-color-hover: #eaeaea;
--text-color-hover-layers: #8b8b8b;



--ifm-background-color:#1b1b1d;
Expand Down Expand Up @@ -114,6 +116,8 @@ html[data-theme='dark'] {

--text-color: black;
--text-color-hover: #d8d8d8;
--text-color-hover-layers: #636363;



--ifm-background-color:#f8f8f8;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const C_ID_select_geojson = "leaflet-combined-map-select-geojson";
const C_ID_input_geojson = "leaflet-combined-map-input-geojson";
const C_ID_input_geojson_export = "leaflet-combined-map-input-export-geojson";

const PlaygroundBarGeojson = (props) => {
const PlaygroundBarGeo = (props) => {
const [isLoading, setIsLoading] = useState(false);

const [state, setState] = useState({
Expand Down Expand Up @@ -63,7 +63,7 @@ const PlaygroundBarGeojson = (props) => {
const handleChange = async (e) => {
setIsLoading(true);
state.value = e;
const geojson = (await file('resources/geojson/' + e.value)).data
const geojson = (await file('resources/geo/' + e.value)).data
props.callback(e.value, geojson);
setIsLoading(false);
}
Expand Down Expand Up @@ -100,4 +100,4 @@ const PlaygroundBarGeojson = (props) => {
);
};

export default PlaygroundBarGeojson;
export default PlaygroundBarGeo;
4 changes: 2 additions & 2 deletions src/geovisto_demos/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PlaygroundBarData from "./PlaygroundBarData";
import PlaygroundBarConfig from "./PlaygroundBarConfig";
import PlaygroundBarGeojson from "./PlaygroundBarGeojson";
import PlaygroundBarGeo from "./PlaygroundBarGeo";
import PlaygroundBarSearchDatasets from "./PlaygroundBarSearchDatasets";


export { PlaygroundBarData, PlaygroundBarGeojson, PlaygroundBarConfig, PlaygroundBarSearchDatasets};
export { PlaygroundBarData, PlaygroundBarGeo, PlaygroundBarConfig, PlaygroundBarSearchDatasets};

0 comments on commit 24e1029

Please sign in to comment.