Skip to content

Commit

Permalink
fix: Popover size prop now works
Browse files Browse the repository at this point in the history
  • Loading branch information
MildTomato committed Feb 14, 2022
1 parent 9ed18c0 commit e82edb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Popover/Popover.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export const Default = (args: any) => (
{...args}
side="bottom"
align="end"
size="content"
portalled
showClose
className="w-96"
header={
<div className="flex justify-between items-center">
<Button type="default" size="tiny">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function Popover({
sideOffset={sideOffset}
side={side}
align={align}
className={__styles.content}
className={classes.join(' ')}
style={style}
portalled={portalled}
>
Expand Down

0 comments on commit e82edb7

Please sign in to comment.