Skip to content

Commit

Permalink
useToast: Ensure content is left aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed Oct 17, 2024
1 parent bae97a1 commit 526c4d1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .changeset/loud-wasps-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'braid-design-system': patch
---

---
updated:
- useToast
---

**useToast**: Ensure content is left aligned

Applies left alignment to `Toast` content to ensure intended alignment, regardless of other styles applied.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ const Toast = React.forwardRef<HTMLDivElement, ToastProps>(
<Box
display="flex"
justifyContent="center"
textAlign="left"
role="alert"
ref={ref}
onMouseEnter={stopTimeout}
Expand Down

0 comments on commit 526c4d1

Please sign in to comment.