Fix minor ui-bugs
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user