diff --git a/web/ui/react-app/src/App.css b/web/ui/react-app/src/App.css index da6288a71..e5f1d08b2 100644 --- a/web/ui/react-app/src/App.css +++ b/web/ui/react-app/src/App.css @@ -75,7 +75,6 @@ button.execute-btn { top: 100%; left: 56px; float: left; - padding: .5rem 1px .5rem 1px; margin: -5px; list-style: none; } @@ -90,6 +89,14 @@ button.execute-btn { display: block; } +.autosuggest-dropdown .card-header { + background: rgba(240, 230, 140, 0.4); + height: 30px; + display: flex; + align-items: center; + text-transform: uppercase; +} + .graph-controls, .table-controls { margin-bottom: 10px; } diff --git a/web/ui/react-app/src/Checkbox.tsx b/web/ui/react-app/src/Checkbox.tsx index 1d4719e35..247416baa 100644 --- a/web/ui/react-app/src/Checkbox.tsx +++ b/web/ui/react-app/src/Checkbox.tsx @@ -1,18 +1,15 @@ -import React, { FC, HTMLProps, memo } from 'react'; -import { FormGroup, Label, Input } from 'reactstrap'; -import { uuidGen } from './utils/func'; +import React, { FC, memo, CSSProperties } from 'react'; +import { FormGroup, Label, Input, InputProps } from 'reactstrap'; -const Checkbox: FC> = ({ children, onChange, style }) => { - const id = uuidGen(); +interface CheckboxProps extends InputProps { + wrapperStyles?: CSSProperties; +} + +const Checkbox: FC = ({ children, wrapperStyles, id, ...rest }) => { return ( - - -