Skip to content

Commit

Permalink
Add missing width to Storybook Menu component (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny authored Aug 31, 2024
1 parent 82d887c commit 3945c9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/old-llamas-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/storybook": patch
---

Added missing width to Storybook Menu component.
5 changes: 4 additions & 1 deletion packages/storybook/src/components/menu/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const PreviewMenu = () => {
id: "B3Q5mz",
})}
</Button>
<MenuPopover {...(portalContainer === undefined ? {} : { UNSTABLE_portalContainer: portalContainer })}>
<MenuPopover
className="w-64"
{...(portalContainer === undefined ? {} : { UNSTABLE_portalContainer: portalContainer })}
>
<Menu>
<MenuSection>
<MenuHeader>
Expand Down

0 comments on commit 3945c9d

Please sign in to comment.