Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e373605

Browse files
committedJan 4, 2023
fix: update <AlertBanner /> styles
- align text to the left - add padding to the top of span inside
1 parent 1e54f54 commit e373605

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎site/src/components/AlertBanner/AlertBanner.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ const useStyles = makeStyles<Theme, StyleProps>((theme) => ({
9696
borderRadius: theme.shape.borderRadius,
9797
padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,
9898
backgroundColor: `${colors.gray[16]}`,
99+
textAlign: "left",
100+
101+
"& span": {
102+
paddingTop: `${theme.spacing(0.25)}px`
103+
},
99104

100105
// targeting the alert icon rather than the expander icon
101106
"& svg:nth-child(2)": {

0 commit comments

Comments
 (0)
Failed to load comments.