Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-button] Add Left Alignment Property #4066

Merged
merged 5 commits into from
Mar 19, 2024
Merged

Conversation

cm9361
Copy link
Contributor

@cm9361 cm9361 commented Mar 19, 2024

Summary

What was changed:
A property was added to the Terra Button to allow consumers the ability to left align the content.

Why it was changed:
The change was made so that button content could be aligned properly for the MPages Fusion library.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

N/A

This PR resolves:

UXPLATFORM-10278


Thank you for contributing to Terra.
@cerner/terra

@cm9361 cm9361 requested a review from a team as a code owner March 19, 2024 14:05
@github-actions github-actions bot temporarily deployed to preview-pr-4066 March 19, 2024 14:05 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4066 March 19, 2024 14:24 Destroyed
@sycombs
Copy link
Contributor

sycombs commented Mar 19, 2024

Not sure if I'm just missing it (having trouble expanding/collapsing files in Github today) but should we also add a WDIO test for the left aligned button since there is a visual difference?

@cm9361
Copy link
Contributor Author

cm9361 commented Mar 19, 2024

I did add a test to the long text test for WDIO. I am noticing that maybe the full page is not in the screen shot

@github-actions github-actions bot temporarily deployed to preview-pr-4066 March 19, 2024 15:56 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4066 March 19, 2024 16:43 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-4066 March 19, 2024 18:38 Destroyed
@cm9361
Copy link
Contributor Author

cm9361 commented Mar 19, 2024

I received approval from @mjpalazzo so I will move forward with merging this update.

@cm9361 cm9361 merged commit d5ea19f into main Mar 19, 2024
22 checks passed
@cm9361 cm9361 deleted the button-left-alignment branch March 19, 2024 19:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants