Skip to content

feat: redesign error alert #4403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Oct 7, 2022
Prev Previous commit
Next Next commit
use theme constants
  • Loading branch information
Kira-Pilot committed Oct 6, 2022
commit 7da9dc6a69a13e71e43f076fa129bd35883461dc
2 changes: 1 addition & 1 deletion site/src/components/AlertBanner/AlertBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const useStyles = makeStyles<Theme, StyleProps>((theme) => ({
backgroundColor: `${colors.gray[16]}`,

"& svg": {
marginTop: props.hasDetail ? "8px" : "inherit",
marginTop: props.hasDetail ? `${theme.spacing(1)}px` : "inherit",
},
}),
}))