Skip to content

Commit

Permalink
Fixing padding issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjones committed Aug 1, 2023
1 parent a1ccb04 commit 467b2b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Card/CardPrimary/CardPrimary.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CardPrimary } from "./CardPrimary";

export default {
component: CardPrimary,
title: "Display/Cards/Primary Card",
title: "Cards/Primary Card",
tags: ["cardPrimary","autodocs"],
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/CardPrimary/CardPrimary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Wrapper = styled.div<Pick<CardProps, "size" | "hasShadow" | "size" | "disa
text-align: center;
flex-direction: column;
padding: ${({ size = "md", theme }) =>
`${theme.click.card.primary.space[size].x} ${theme.click.card.primary.space[size].y}`}
`${theme.click.card.primary.space[size].x} ${theme.click.card.primary.space[size].y}`};
gap: ${({ size = "md", theme }) => theme.click.card.primary.space[size].gap};
box-shadow: ${({ hasShadow, theme }) => hasShadow ? theme.shadow[1] : "none"};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/CardSecondary/CardSecondary.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CardSecondary } from "./CardSecondary";

export default {
component: CardSecondary,
title: "Display/Cards/Secondary Card",
title: "Cards/Secondary Card",
tags: ["cardSecondary","autodocs"],
argTypes: {
badgeState: {
Expand Down

0 comments on commit 467b2b8

Please sign in to comment.