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;
+`;
+
+const ContentContainer = styled.div<{ $size?: "sm" | "md" }>`
+ display: flex;
+ flex-direction: column;
+ align-self: center;
+ justify-content: space-between;
+ width: 100%;
+ height: 100%;
+ gap: ${({ $size = "md", theme }) => theme.click.card.primary.space[$size].gap};
`;
export const CardPrimary = ({
@@ -141,20 +152,22 @@ export const CardPrimary = ({
{title}
-
- {description}
-
+
+
+ {description}
+
- {size == "sm" && }
+ {size == "sm" && }
- {infoText && (
-
- {infoText}
-
- )}
+ {infoText && (
+
+ {infoText}
+
+ )}
+
);
};
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`