Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: update <AlertBanner /> styles
- align text to the left
- add padding to the top of span inside
  • Loading branch information
jsjoeio committed Jan 4, 2023
commit e373605d49b167d0b56eef3965f0ce4fbbecdbad
5 changes: 5 additions & 0 deletions site/src/components/AlertBanner/AlertBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ const useStyles = makeStyles<Theme, StyleProps>((theme) => ({
borderRadius: theme.shape.borderRadius,
padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,
backgroundColor: `${colors.gray[16]}`,
textAlign: "left",

"& span": {
paddingTop: `${theme.spacing(0.25)}px`
},

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