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: checkbox Icon was uncentered because missing justify content and align items in parent container #1821

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PlanckConst
Copy link

@PlanckConst PlanckConst commented Nov 14, 2024

What was changed?

Added justify-content: center and align-items: center to the parent container named CheckboxIndicator located in
packages\design-system\src\components\Checkbox\Checkbox.tsx

Why is it needed?

Checkbox Icon was not centered within parent container

How to test it?

You can test this feature by running the application and attempting the checkbox module.

Related issue(s)/PR(s)

Related Issue: #1819
fixes #1819

Copy link

changeset-bot bot commented Nov 14, 2024

⚠️ No Changeset found

Latest commit: 2e5f818

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 9:05pm

@PlanckConst PlanckConst changed the title fix: checkbox Icon was uncentered because missing justify content in parent container fix: checkbox Icon was uncentered because missing justify content and align items in parent container Nov 14, 2024
@hanpaine hanpaine added pr: fix This PR is fixing a bug source: design-system relates to design-system package community labels Nov 15, 2024
@hanpaine
Copy link
Contributor

hey @PlanckConst thanks for the contribution! We'll take a look soon 🙏

@lucasboilly
Copy link

Hey @PlanckConst! Thanks, it looks much better :)

I just added @remidej for the code review.

@PlanckConst
Copy link
Author

Glad I could help! My first open source contribution~

@lucasboilly
Copy link

@PlanckConst congrats! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community pr: fix This PR is fixing a bug source: design-system relates to design-system package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: Icons are not centered in the checkboxes
3 participants