From 15c4dc2df3e96d89dddaaa9a43586cad50a2f7da Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Wed, 5 Jun 2019 13:28:07 +0200 Subject: [PATCH] Fix binary switches for settings drawer --- app/src/components/SettingsDrawer/BooleanSwitch.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/components/SettingsDrawer/BooleanSwitch.tsx b/app/src/components/SettingsDrawer/BooleanSwitch.tsx index 16cbe43..d869360 100644 --- a/app/src/components/SettingsDrawer/BooleanSwitch.tsx +++ b/app/src/components/SettingsDrawer/BooleanSwitch.tsx @@ -34,7 +34,6 @@ function BooleanSwitch(props: {title: string, value: boolean, tooltip: string, a checked={value} onChange={action} color="primary" - classes={{ switchBase: classes.switchBase }} /> @@ -42,12 +41,9 @@ function BooleanSwitch(props: {title: string, value: boolean, tooltip: string, a } const styles = (theme: Theme) => ({ - switchBase: { - height: theme.spacing(4), - }, label: { flex: '1', - paddingTop: '8px', + paddingTop: theme.spacing(1.5), }, })