[CCUBE-2251][RYN] remove fixed height for buttons - #1377
Conversation
| }); | ||
|
|
||
| // ------------------------------------------------------------------------- | ||
| // Large font size (accessibility) |
| }); | ||
|
|
||
| // ------------------------------------------------------------------------- | ||
| // Large font size (accessibility) |
| }); | ||
|
|
||
| // ------------------------------------------------------------------------- | ||
| // Large font size (accessibility) |
|
request: I'm seeing a bunch of button screenshots being updated although they have no visible changes. could you discard those and only commit the new snapshots and snapshots with actual changes? |
|
many of the snapshots are still failing. in the case of smart app banner, it's expected as the old height (38px) was incorrect, so the screenshot can be generated. what about the other cases? |
bfaadce to
7a9a7df
Compare
| padding: calc(${Spacing["spacing-8"]} - ${Border["width-010"]}) | ||
| ${Spacing["spacing-16"]}; |
There was a problem hiding this comment.
icon is square so the horizontal and vertical padding would be consistent
| padding: calc(${Spacing["spacing-8"]} - ${Border["width-010"]}) | |
| ${Spacing["spacing-16"]}; | |
| padding: calc(${Spacing["spacing-8"]} - ${Border["width-010"]}); |
| min-height: 4rem; | ||
| `; | ||
|
|
||
| export const mainIconOnly = css` |
There was a problem hiding this comment.
reorder so that this is below mainIconPositionRight
| ? clsx( | ||
| sizeClassMap[sizeType]?.base, | ||
| sizeClassMap[sizeType]?.iconOnly, | ||
| styles.mainIconOnly |
| @@ -17,8 +17,7 @@ export const main = css` | |||
| `; | |||
|
|
|||
| export const mainSizeSmall = css` | |||
| height: 2.5rem; | |||
| min-height: unset; | |||
| min-height: 2.5rem; | |||
There was a problem hiding this comment.
for singpass button, can we also apply the same padding to compensate?
padding: calc(${Spacing["spacing-8"]} - ${Border["width-010"]})
${Spacing["spacing-16"]};
There was a problem hiding this comment.
for smart app banner, should clean up the height: auto style
There was a problem hiding this comment.
same here, let's clean up the height: auto style in toast
There was a problem hiding this comment.
filter had custom styles for the buttons. can you check and reconcile the expected behaviour?
7bfe736 to
d87129f
Compare
Type of changes
Description of changes
Checklist