Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/SoftAlert/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function SoftAlert({ color, dismissible, children, ...rest }) {
// The base template for the alert
const alertTemplate = (mount = true) => (
<Fade in={mount} timeout={300}>
<SoftAlertRoot ownerState={{ color }} {...rest}>
<SoftBox color="color">
<SoftBox display="flex" alignItems="center" color="white">
{children}
</SoftBox>
Expand All @@ -45,7 +45,7 @@ function SoftAlert({ color, dismissible, children, ...rest }) {
&times;
</SoftAlertCloseIcon>
) : null}
</SoftAlertRoot>
</SoftBox>
</Fade>
);

Expand Down