diff --git a/src/components/atoms/Spinner/Spinner.stories.tsx b/src/components/atoms/Spinner/Spinner.stories.tsx index 395a773..b0dcbf2 100644 --- a/src/components/atoms/Spinner/Spinner.stories.tsx +++ b/src/components/atoms/Spinner/Spinner.stories.tsx @@ -19,7 +19,7 @@ export const Default: Story = { export const Size: Story = { render: () => ( -
+
diff --git a/src/components/atoms/Spinner/Spinner.styles.ts b/src/components/atoms/Spinner/Spinner.styles.ts index 1b8d2f3..0dcbbdd 100644 --- a/src/components/atoms/Spinner/Spinner.styles.ts +++ b/src/components/atoms/Spinner/Spinner.styles.ts @@ -1,6 +1,7 @@ import { tv } from "@utils/customTV"; export const SpinnerVariants = tv({ + base: "h-fit", variants: { size: { sm: "w-[96rem]", diff --git a/src/components/atoms/Spinner/Spinner.tsx b/src/components/atoms/Spinner/Spinner.tsx index 19b05e3..89907e0 100644 --- a/src/components/atoms/Spinner/Spinner.tsx +++ b/src/components/atoms/Spinner/Spinner.tsx @@ -3,14 +3,7 @@ import { SpinnerProps } from "./Spinner.types"; const Spinner = ({ size, className, ...props }: SpinnerProps) => { return ( - +