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={classes.progressBarContainer} key="progressBar">
|
||||||
<div
|
<div
|
||||||
className={classNames(classes.progressBar, {
|
className={classNames(classes.progressBar, {
|
||||||
[classes.progressBarActive]: true,
|
|
||||||
[classes.progressBarSuccess]: status === "success",
|
[classes.progressBarSuccess]: status === "success",
|
||||||
[classes.progressBarWarning]: status === "warning",
|
[classes.progressBarWarning]: status === "warning",
|
||||||
[classes.progressBarError]: status === "error"
|
[classes.progressBarError]: status === "error"
|
||||||
|
|
|
@ -104,14 +104,12 @@ export const useStyles = makeStyles(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
progressBar: {
|
progressBar: {
|
||||||
|
animation: `$bar var(--animationTime) ease both`,
|
||||||
backgroundColor: infoColor,
|
backgroundColor: infoColor,
|
||||||
height: 8,
|
height: 8,
|
||||||
transform: "translateX(-100%)",
|
transform: "translateX(-100%)",
|
||||||
width: "100%"
|
width: "100%"
|
||||||
},
|
},
|
||||||
progressBarActive: {
|
|
||||||
animation: `$bar var(--animationTime) ease both`
|
|
||||||
},
|
|
||||||
progressBarContainer: {
|
progressBarContainer: {
|
||||||
borderRadius: "0 0 4px 4px",
|
borderRadius: "0 0 4px 4px",
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
|
|
Loading…
Reference in a new issue