Fix binary switches for settings drawer

This commit is contained in:
Thomas Nordquist
2019-06-05 13:28:07 +02:00
parent b9dcc4a9a8
commit 15c4dc2df3

View File

@@ -34,7 +34,6 @@ function BooleanSwitch(props: {title: string, value: boolean, tooltip: string, a
checked={value}
onChange={action}
color="primary"
classes={{ switchBase: classes.switchBase }}
/>
</Tooltip>
</div>
@@ -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),
},
})