Fix disconnect button label
This commit is contained in:
@@ -32,6 +32,8 @@ const styles = (theme: Theme) => ({
|
|||||||
},
|
},
|
||||||
disconnect: {
|
disconnect: {
|
||||||
margin: 'auto 8px auto auto',
|
margin: 'auto 8px auto auto',
|
||||||
|
},
|
||||||
|
disconnectLabel: {
|
||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.primary.contrastText,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
@@ -71,7 +73,11 @@ class TitleBar extends React.PureComponent<Props, {}> {
|
|||||||
</Typography>
|
</Typography>
|
||||||
<SearchBar />
|
<SearchBar />
|
||||||
<PauseButton />
|
<PauseButton />
|
||||||
<Button className={classes.disconnect} onClick={actions.connection.disconnect}>
|
<Button
|
||||||
|
className={classes.disconnect}
|
||||||
|
classes={{ label: classes.disconnectLabel }}
|
||||||
|
onClick={actions.connection.disconnect}
|
||||||
|
>
|
||||||
Disconnect <CloudOff className={classes.disconnectIcon} />
|
Disconnect <CloudOff className={classes.disconnectIcon} />
|
||||||
</Button>
|
</Button>
|
||||||
<ConnectionHealthIndicator withBackground={true} />
|
<ConnectionHealthIndicator withBackground={true} />
|
||||||
|
|||||||
Reference in New Issue
Block a user