Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

button size 조정 #52

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/(sub-page)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from 'next/image';
import background from '../../public/assets/background.png';
import NavigationBar from '../ui/view/molecule/navigation-bar';

interface LayoutProps {
children: React.ReactNode;
}
Expand Down
1 change: 0 additions & 1 deletion app/ui/view/atom/button/button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import Button from './button';

Expand Down
8 changes: 4 additions & 4 deletions app/ui/view/atom/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export const ButtonVariants = cva(`flex justify-center items-center`, {
},
size: {
default: '',
xs: 'px-5 py-3 text-lg font-medium leading-5',
sm: 'px-12 py-3.5 text-sm font-medium leading-3',
md: 'px-6 py-4 text-lg font-medium leading-3',
lg: 'px-32 py-6 text-3xl font-medium leading-9',
xs: 'px-5 py-2.5 text-sm font-medium leading-5',
sm: 'px-10 py-2.5 text-xs font-medium leading-3',
md: 'px-20 py-4 text-base font-medium leading-3',
lg: 'px-28 py-4 text-2xl font-medium leading-9',
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion app/ui/view/molecule/form/form-submit-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function FormSubmitButton({
label,
position = 'right',
variant = 'primary',
size = 'sm',
size = 'md',
}: FormSubmitButtonProps) {
const { formId } = useContext(FormContext);
const { pending } = useFormStatus();
Expand Down
Loading