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(components): Fix large button outline issue #17415

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

koji
Copy link
Contributor

@koji koji commented Feb 4, 2025

Overview

LargeButton needs to support stroke button for ODD so need to keep the existing code to avoid having an impact on ODD . This issue will be fixed in the future.

BREAKING CHANGE: 🧨 N

✅ Closes: RQA-3653

Test Plan and Hands on Testing

  • go to storybook or pd's landing page
  • hovering the mouse cursor on LargeButton

Changelog

Review requests

Risk assessment

low

koji and others added 2 commits February 4, 2025 11:37
LargeButton outline issue for primary type

BREAKING CHANGE: 🧨 N

✅ Closes: N
@koji koji requested a review from ncdiehl11 February 4, 2025 18:08
@@ -206,7 +206,9 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {

border: ${buttonType === 'stroke'
? `2px solid ${COLORS.blue55}`
: `${computedBorderStyle()}`};
: buttonType === 'primary'
? `4px solid ${COLORS.blue55}`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

using 4px to avoid shrinking

@koji koji marked this pull request as ready for review February 4, 2025 18:15
@koji koji requested a review from a team as a code owner February 4, 2025 18:15
Copy link
Collaborator

@ncdiehl11 ncdiehl11 left a comment

Choose a reason for hiding this comment

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

looks good to me 👍 maybe worth smoke testing the couple of instances on the ODD

@koji
Copy link
Contributor Author

koji commented Feb 4, 2025

  • test odd

@koji koji merged commit 645267a into chore_release-pd-8.4.0 Feb 4, 2025
58 checks passed
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