Skip to content

Commit

Permalink
Fix stories (#49)
Browse files Browse the repository at this point in the history
* Fix stories

* Update dependencies
  • Loading branch information
jkettmann authored Nov 15, 2023
1 parent 320ac3f commit 03a9d13
Show file tree
Hide file tree
Showing 3 changed files with 3,148 additions and 3,120 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ export default {
} as Meta<typeof ProjectCard>;

const Template: StoryFn<typeof ProjectCard> = (props) => (
<div style={{ width: 500, padding: 50 }}>
<div
style={{
maxWidth: 500,
width: "100%",
boxSizing: "border-box",
padding: 10,
}}
>
<ProjectCard {...props} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion features/ui/badge/badge.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
} as Meta<typeof Badge>;

const Template: StoryFn<typeof Badge> = ({ size, color, children }) => (
<div style={{ padding: 50 }}>
<div style={{ padding: 10 }}>
<Badge color={color} size={size}>
{children}
</Badge>
Expand Down
Loading

0 comments on commit 03a9d13

Please sign in to comment.