From c8ab7b4d159f3eb2462a167ed4d087654b79085f Mon Sep 17 00:00:00 2001 From: Iva Utikalova Date: Wed, 1 May 2024 23:25:59 +0200 Subject: [PATCH] playground fix --- .../components/PlaygroundBarConfig.tsx | 26 ++++++--------- .../components/PlaygroundBarData.tsx | 26 +++++++-------- .../components/PlaygroundBarGeojson.tsx | 26 +++++++-------- .../PlaygroundBarSearchDatasets.tsx | 3 +- src/geovisto_demos/playground.css | 33 ++++++++++++------- 5 files changed, 57 insertions(+), 57 deletions(-) diff --git a/src/geovisto_demos/components/PlaygroundBarConfig.tsx b/src/geovisto_demos/components/PlaygroundBarConfig.tsx index e5f2514..61967a5 100644 --- a/src/geovisto_demos/components/PlaygroundBarConfig.tsx +++ b/src/geovisto_demos/components/PlaygroundBarConfig.tsx @@ -1,8 +1,6 @@ import React, {useState, useEffect} from "react"; import {files, file} from "../api"; import Select from "react-select"; -import Dropdown from 'react-dropdown'; -import FontAwesomeIcon from '@fortawesome/react-fontawesome' /* example of screen component with grid layout and card wrapper usage */ @@ -82,21 +80,17 @@ const PlaygroundBarConfig = (props) => { onChange={handleChange} className="select" /> -
-
- -
- - +
+
+
); diff --git a/src/geovisto_demos/components/PlaygroundBarData.tsx b/src/geovisto_demos/components/PlaygroundBarData.tsx index 537e331..a016ba5 100644 --- a/src/geovisto_demos/components/PlaygroundBarData.tsx +++ b/src/geovisto_demos/components/PlaygroundBarData.tsx @@ -81,21 +81,19 @@ const PlaygroundBarData = (props) => { className="select" /> -
-
- -
- - +
+
+ +
); diff --git a/src/geovisto_demos/components/PlaygroundBarGeojson.tsx b/src/geovisto_demos/components/PlaygroundBarGeojson.tsx index e33376f..04050bb 100644 --- a/src/geovisto_demos/components/PlaygroundBarGeojson.tsx +++ b/src/geovisto_demos/components/PlaygroundBarGeojson.tsx @@ -82,21 +82,19 @@ const PlaygroundBarGeojson = (props) => { onChange={handleChange} className="select" /> -
-
- -
- - +
+
+ +
); diff --git a/src/geovisto_demos/components/PlaygroundBarSearchDatasets.tsx b/src/geovisto_demos/components/PlaygroundBarSearchDatasets.tsx index 48de87a..fba9c80 100644 --- a/src/geovisto_demos/components/PlaygroundBarSearchDatasets.tsx +++ b/src/geovisto_demos/components/PlaygroundBarSearchDatasets.tsx @@ -65,7 +65,6 @@ const PlaygroundBarSearchDatasets = (props) => { return (
- Search dataset: