Minor fixes

This commit is contained in:
Ken Hibino
2021-01-29 22:25:01 -08:00
parent 747ff21218
commit 30f64efd09
7 changed files with 47 additions and 26 deletions

View File

@@ -56,6 +56,10 @@ const useStyles = makeStyles((theme) => ({
stickyHeaderCell: {
background: theme.palette.background.paper,
},
alert: {
borderTopLeftRadius: 0,
borderTopRightRadius: 0,
},
}));
function mapStateToProps(state: AppState) {
@@ -161,7 +165,7 @@ function RetryTasksTable(props: Props & ReduxProps) {
if (props.error.length > 0) {
return (
<Alert severity="error">
<Alert severity="error" className={classes.alert}>
<AlertTitle>Error</AlertTitle>
{props.error}
</Alert>
@@ -169,7 +173,7 @@ function RetryTasksTable(props: Props & ReduxProps) {
}
if (props.tasks.length === 0) {
return (
<Alert severity="info">
<Alert severity="info" className={classes.alert}>
<AlertTitle>Info</AlertTitle>
No retry tasks at this time.
</Alert>