Skip to content
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

fix(app): fix alert stroke disalbed styling #15623

Merged
merged 2 commits into from
Jul 11, 2024
Merged

fix(app): fix alert stroke disalbed styling #15623

merged 2 commits into from
Jul 11, 2024

Conversation

koji
Copy link
Contributor

@koji koji commented Jul 11, 2024

Overview

update alert stroke's disabled style and modify the condition of border to not display border when a LargeButton is disabled

[design]
https://www.figma.com/design/8dMeu8MuPfXoORtOV6cACO/Feature%3A-Error-Recovery-August-Release?node-id=1935-45180&t=GW9oNRW0wY7mZ4jf-4

close RQA-2836

Test Plan

Ensure that each button type in the storybook matches the design

Changelog

Review requests

Risk assessment

low

@koji koji marked this pull request as ready for review July 11, 2024 11:54
@koji koji requested a review from a team as a code owner July 11, 2024 11:54
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could remove isInverse I think

@@ -140,9 +140,9 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
line-height: ${TYPOGRAPHY.lineHeight20};
gap: ${SPACING.spacing60};
border: ${BORDERS.borderRadius4} solid
${!!LARGE_BUTTON_PROPS_BY_TYPE[buttonType].isInverse
${buttonType === 'alertStroke' && !disabled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is isInverse used anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, thanks.
I will remove that.

@koji koji merged commit 5565105 into edge Jul 11, 2024
30 checks passed
@koji koji deleted the fix_RQA-2836 branch July 11, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants