Skip to content

Commit

Permalink
fix: 버튼 공용 컴포넌트 수정 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeeZinu committed Jun 1, 2024
1 parent 4cbcba4 commit 4e75d9c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,3 @@
}
}
}

.buttonWidth {
width: 300px;
}
2 changes: 1 addition & 1 deletion src/app/(userpage)/otherpage/[userId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function OtherPage() {
안녕하세요, 별점의 화신 surisuri마수리입니다'
follower={762}
folloing={102}
isfollow
isfollow={false}
/>
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions src/components/Button/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@
color: $gray-200;
}
}

.profile {
width: 250px;
}
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Button({ children, styleType, disabled = false, classNam
return (
// eslint-disable-next-line react/button-has-type
<button
className={cn(styles.container, styles[styleType], `${className}`)}
className={cn(styles.container, styles[styleType], styles[className])}
{...rest}
disabled={disabled}
>
Expand Down

0 comments on commit 4e75d9c

Please sign in to comment.