Skip to content

Commit

Permalink
Adjust the Dashboard for the long transaction event messages (#5330)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw authored and poulch committed Jan 8, 2025
1 parent 7b0c73b commit 109565e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/poor-ads-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Added explicit max width to transaction event tooltip. Thanks to that longer message won't overflow.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export const EventType = ({ type, message }: EventTypeProps) => {
</Tooltip.Trigger>
<Tooltip.Content side="bottom">
<Tooltip.Arrow />
{message}
{/* Set to explicit value in order to avoid long message from overflowing */}
<Box __maxWidth="500px">{message}</Box>
</Tooltip.Content>
</Tooltip>
)}
Expand Down

0 comments on commit 109565e

Please sign in to comment.