-
Notifications
You must be signed in to change notification settings - Fork 10
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
Revert "Buttonからmin-widthを除去" #262
Conversation
This reverts commit c83eaf8.
src/components/Button/Button.tsx
Outdated
const buttonSize: Record<ButtonSize, { minWidth: string; height: string }> = { | ||
small: { | ||
minWidth: "64px", | ||
height: "32px", | ||
}, | ||
medium: { | ||
minWidth: "130px", | ||
height: "42px", | ||
}, | ||
large: { | ||
minWidth: "178px", | ||
height: "48px", | ||
}, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
height
は復活させちゃって大丈夫?
確かゴリにゃのPRで消したんじゃなかったっけ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertする際にどこまで消せばいいのか分からず、一旦残しておきました!
確かに僕のPRでheightは削除しているので、消しちゃっても大丈夫そうです!
確認して修正します!
@ryokosuge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This reverts commit c83eaf8.
やったこと
min-widthを削除したことによって、ボタンテキストが日本語の際にボタンの横幅がおかしくなるので、min-widthを削除したコミットをrevertした。
問題のスクショ
Before
After