Skip to content

Commit

Permalink
Merge pull request #52 from Myongji-Graduate/button-resize/#48
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung authored Mar 29, 2024
2 parents f6e7028 + 3f1727a commit 34af5a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
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

0 comments on commit 34af5a6

Please sign in to comment.