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

feat(text): balance letter-spacing when centered #561

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

privatenumber
Copy link
Member

@privatenumber privatenumber commented Aug 17, 2023

Describe the problem this PR addresses

When the text is centered with letter spacing, it isn't center aligned:

Screenshot 2023-08-18 at 12 34 13 AM

This is being addressed in Maker because it's a CSS-level issue (not a project specific one):
https://adamschwartz.co/magic-of-css/potions/letter-spacing

Describe the changes in this PR

Add padding left to balance it out:

Screenshot 2023-08-18 at 12 34 02 AM

Other information

@privatenumber privatenumber requested a review from a team as a code owner August 17, 2023 15:44
@github-actions
Copy link

Deployed Styleguide and Lab.

Notes
  1. Links may take a few minutes to update after PR is opened or commit is pushed.
  2. Links may become invalidated after PR is merged or closed.
  3. Links for all releases and open PRs can be found on the Maker Deploys page.

@privatenumber privatenumber merged commit 89c3475 into master Aug 17, 2023
4 checks passed
@privatenumber privatenumber deleted the text-letter-spacing-align branch August 17, 2023 18:49
@github-actions
Copy link

🎉 This PR is included in version 19.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants