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(button): icon text misalignment when clrLoading is used #1224

Merged
merged 8 commits into from
Feb 14, 2024

Conversation

valentin-mladenov
Copy link
Contributor

@valentin-mladenov valentin-mladenov commented Feb 12, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • If applicable, have a visual design approval

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Icon and text are misaligned vertically and horizontally when clrLoading is used.

Issue Number: CDE-1652

What is the new behavior?

Icon and text are aligned vertically and horizontally to design specification when clrLoading is used.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link
Contributor

github-actions bot commented Feb 12, 2024

👋 @valentin-mladenov,

  • 🙏 The Clarity team thanks you for opening a pull request
  • 🎉 The build for this PR has succeeded
  • 🔍 The PR is now ready for review
  • 🍿 In the meantime, view a preview of this PR
  • 🖐 You can always follow up here. If you're a VMware employee, you can also reach us on our internal #clarity-support Slack channel

Thank you,

🤖 Clarity Release Bot

Copy link
Contributor

This PR introduces visual changes: 4577f9c
If these changes are intended and correct, please cherry-pick the above commit to this PR.

git checkout button-icon-text-misalignment_cde-1652
git fetch https://github.com/vmware-clarity/ng-clarity.git 4577f9cd7dd654bae8295e897583585c446e1c35
git cherry-pick 4577f9cd7dd654bae8295e897583585c446e1c35
git push

Copy link
Contributor

This PR introduces visual changes: 7b31ec1
If these changes are intended and correct, please cherry-pick the above commit to this PR.

git checkout button-icon-text-misalignment_cde-1652
git fetch https://github.com/vmware-clarity/ng-clarity.git 7b31ec1408e60b900acf46a69639ea01c53abfa8
git cherry-pick 7b31ec1408e60b900acf46a69639ea01c53abfa8
git push

@valentin-mladenov valentin-mladenov marked this pull request as ready for review February 13, 2024 07:48
@valentin-mladenov valentin-mladenov requested a review from a team February 13, 2024 07:48
@valentin-mladenov valentin-mladenov merged commit b25cd46 into next Feb 14, 2024
5 checks passed
@valentin-mladenov valentin-mladenov deleted the button-icon-text-misalignment_cde-1652 branch February 14, 2024 08:08
Copy link
Contributor

The backport to main failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-main main
# Navigate to the new working tree
cd .worktrees/backport-main
# Create a new branch
git switch --create backport-1224-to-main
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 b25cd4611709082befe4751c9cba68f8bd0445b7
# Push it to GitHub
git push --set-upstream origin backport-1224-to-main
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-main

Then, create a pull request where the base branch is main and the compare/head branch is backport-1224-to-main.

valentin-mladenov added a commit that referenced this pull request Feb 15, 2024
… of #1224) (#1235)

## PR Checklist

Please check if your PR fulfills the following requirements:

- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] If applicable, have a visual design approval

## PR Type

What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:

## What is the current behavior?
Icon and text are misaligned vertically and horizontally when
`clrLoading` is used.

<!-- Please describe the current behavior that you are modifying, or
link to a relevant issue. -->

Issue Number: CDE-1652

## What is the new behavior?
Icon and text are aligned vertically and horizontally to design
specification when `clrLoading` is used.

## Does this PR introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this PR contains a breaking change, please describe the impact
and migration path for existing applications below. -->

## Other information

---------

Co-authored-by: GitHub <[email protected]>
Copy link
Contributor

🎉 This PR is included in version 17.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

github-actions bot commented Mar 1, 2024

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2024
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.

5 participants