Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd committed Apr 3, 2024
1 parent 774ddbe commit ec3c6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sparkle/src/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function Notification({
return (
<div
className={classNames(
"s-pointer-events-auto s-flex s-max-w-[320px] s-flex-row s-items-center s-gap-2 s-rounded-xl s-border s-border-structure-100 s-bg-structure-0 s-p-4 s-shadow-xl",
"s-pointer-events-auto s-flex s-max-w-[400px] s-flex-row s-items-center s-gap-2 s-rounded-xl s-border s-border-structure-100 s-bg-structure-0 s-p-4 s-shadow-xl",
className
)}
>
Expand Down
2 changes: 1 addition & 1 deletion sparkle/src/stories/Notification.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const DropdownExample = () => {
</div>
<Notification
title="Failure with a very long title clamped on one line."
description="This is a very long failure notification with some messy content. Hopefully it should be truncated in the UI after 3 very long lines!"
description='Got: {"error":{"type":"invalid_request_error","message":"Invalid request body: Expecting string at name but instead got: undefined"}}'
variant="error"
/>
</div>
Expand Down

0 comments on commit ec3c6ba

Please sign in to comment.