Skip to content

Commit

Permalink
fix: width 중첩 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hae-on committed Jul 27, 2023
1 parent 48c8e60 commit ac7e3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fun-eat/design-system",
"description": "펀잇 디자인시스템 라이브러리",
"version": "0.3.5",
"version": "0.3.7",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface ButtonProps extends ComponentPropsWithoutRef<'button'> {
}

const Button = ({
customWidth = '120px',
customWidth = 'fit-content',
customHeight = '40px',
color = 'primary',
textColor = 'default',
Expand Down Expand Up @@ -84,7 +84,6 @@ const buttonStyleTypeStyles: ButtonVariantStyles = {
background-color: ${({ theme }) => theme.colors[color ?? 'black']};
`,
transparent: () => css`
width: fit-content;
background-color: transparent;
`,
};
Expand Down

0 comments on commit ac7e3fe

Please sign in to comment.