From 2bc49f02edcff18c14a3e824f69bee620dc9be53 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Thu, 14 Jan 2021 21:53:36 -0800 Subject: [PATCH] Update settings view styles --- ui/src/views/SettingsView.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/ui/src/views/SettingsView.tsx b/ui/src/views/SettingsView.tsx index 19e17e2..3b30a17 100644 --- a/ui/src/views/SettingsView.tsx +++ b/ui/src/views/SettingsView.tsx @@ -9,7 +9,6 @@ import Slider from "@material-ui/core/Slider"; import { pollIntervalChange, selectTheme } from "../actions/settingsActions"; import { AppState } from "../store"; import FormControl from "@material-ui/core/FormControl/FormControl"; -import InputLabel from "@material-ui/core/InputLabel"; import Select from "@material-ui/core/Select"; import MenuItem from "@material-ui/core/MenuItem"; import { ThemePreference } from "../reducers/settingsReducer"; @@ -63,13 +62,17 @@ function SettingsView(props: PropsFromRedux) { props.selectTheme(event.target.value as ThemePreference); }; return ( - - - + + + + Settings + + + Polling Interval @@ -93,10 +96,15 @@ function SettingsView(props: PropsFromRedux) { /> - + + + + - Dark theme + + Dark theme +