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 a regression in the button alignment #74

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Sep 8, 2023

Because of #72, the inner text of the button became left-aligned.
Before, it was center-aligned, which was important if the button was bigger than its natural size.
This fixes that.

Before:
image

After:
image

No changes when the button size is its natural one:
image

For the record, this affects MAS' pagination buttons:

image

@sandhose sandhose requested a review from a team as a code owner September 8, 2023 08:04
@sandhose sandhose requested review from florianduros and robintown and removed request for a team September 8, 2023 08:04
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 8, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 50c65d8
Status: ✅  Deploy successful!
Preview URL: https://504cae4e.compound-web.pages.dev
Branch Preview URL: https://quenting-button-alignment.compound-web.pages.dev

View logs

@weeman1337
Copy link
Contributor

Percy tests ran into „[percy] Error: This organization has exceeded the limits of the Percy BrowserStack plan. Administrators can upgrade here: https://percy.io/organizations/c8fecada/billing“

Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

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

Thank you @sandhose . LGTM 👍

@weeman1337 weeman1337 merged commit 35963e0 into main Sep 8, 2023
6 of 7 checks passed
@weeman1337 weeman1337 deleted the quenting/button-alignment branch September 8, 2023 08:14
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