Fix minor ui-bugs

This commit is contained in:
Thomas Nordquist
2019-04-27 10:31:06 +02:00
parent 070b72b304
commit 6021df7150
2 changed files with 1 additions and 4 deletions

View File

@@ -78,9 +78,6 @@ const styles: StyleRulesCallback = theme => ({
paddingLeft: theme.spacing(6), paddingLeft: theme.spacing(6),
transition: theme.transitions.create('width'), transition: theme.transitions.create('width'),
width: '100%', width: '100%',
[theme.breakpoints.up('md')]: {
width: 200,
},
}, },
menuButton: { menuButton: {
marginLeft: -12, marginLeft: -12,

View File

@@ -109,7 +109,7 @@ class Settings extends React.Component<Props, {}> {
private toggleTheme() { private toggleTheme() {
const { actions, theme } = this.props const { actions, theme } = this.props
return <BooleanSwitch title="Dark Theme" tooltip="Enable dark theme" value={theme === 'light'} action={actions.settings.toggleTheme} /> return <BooleanSwitch title="Dark Mode" tooltip="Enable dark theme" value={theme === 'dark'} action={actions.settings.toggleTheme} />
} }
private renderAutoExpand() { private renderAutoExpand() {