diff --git a/src/App.tsx b/src/App.tsx index c6463448..374eed70 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,6 +27,7 @@ import { Switch, Tabs, WarningAlert, + CardPrimary, } from "@/components"; const App = () => { @@ -128,15 +129,44 @@ const App = () => { state={"disabled"} > - +
+ + + +
+
+ + +
` flex-direction: column; align-self: center; gap: ${({ $size = "md", theme }) => theme.click.card.primary.space[$size].gap}; + flex: 1; `; export const CardPrimary = ({ diff --git a/src/components/CardSecondary/CardSecondary.tsx b/src/components/CardSecondary/CardSecondary.tsx index b6bc13d1..57f7257b 100644 --- a/src/components/CardSecondary/CardSecondary.tsx +++ b/src/components/CardSecondary/CardSecondary.tsx @@ -47,6 +47,7 @@ const HeaderLeft = styled.div<{ $disabled?: boolean }>` const Content = styled.div` display: flex; flex-direction: column; + flex: 1; `; const InfoLink = styled.a`