MessageManager - update classNames
This commit is contained in:
parent
f247e79369
commit
88da4cab1d
2 changed files with 1 additions and 4 deletions
|
@ -133,7 +133,6 @@ export const MessageManager: React.FC<IMessageManagerProps> = props => {
|
|||
<div className={classes.progressBarContainer} key="progressBar">
|
||||
<div
|
||||
className={classNames(classes.progressBar, {
|
||||
[classes.progressBarActive]: true,
|
||||
[classes.progressBarSuccess]: status === "success",
|
||||
[classes.progressBarWarning]: status === "warning",
|
||||
[classes.progressBarError]: status === "error"
|
||||
|
|
|
@ -104,14 +104,12 @@ export const useStyles = makeStyles(
|
|||
}
|
||||
},
|
||||
progressBar: {
|
||||
animation: `$bar var(--animationTime) ease both`,
|
||||
backgroundColor: infoColor,
|
||||
height: 8,
|
||||
transform: "translateX(-100%)",
|
||||
width: "100%"
|
||||
},
|
||||
progressBarActive: {
|
||||
animation: `$bar var(--animationTime) ease both`
|
||||
},
|
||||
progressBarContainer: {
|
||||
borderRadius: "0 0 4px 4px",
|
||||
bottom: 0,
|
||||
|
|
Loading…
Reference in a new issue