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 HD Toast icon alignment #4357

Merged
merged 5 commits into from
Jan 21, 2025

Conversation

liamsms
Copy link
Contributor

@liamsms liamsms commented Oct 29, 2024

Closes #3524

In the Figma spec, the high density icon has a padding-top value of 1px. The other densities have a value of 2px.

In the code, the padding-top value is combined with the margin-top value, however all densities have a value of 2px.

I've updated the CSS to use 1px instead of 2px when high density is selected.

Copy link

changeset-bot bot commented Oct 29, 2024

🦋 Changeset detected

Latest commit: 2392f35

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@salt-ds/core Patch
@salt-ds/countries Patch
@salt-ds/data-grid Patch
@salt-ds/lab Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link

vercel bot commented Oct 29, 2024

@liamsms is attempting to deploy a commit to the FED Team Team on Vercel.

A member of the Team first needs to authorize it.

@joshwooding
Copy link
Contributor

Thanks @liamsms, I've left a comment in the issue but I think we'll need design feedback since we should align to what's been done in Figma.

@liamsms liamsms marked this pull request as draft October 31, 2024 11:56
Copy link

vercel bot commented Jan 21, 2025

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

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 1:35pm

@joshwooding joshwooding added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Jan 21, 2025
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Jan 21, 2025
@joshwooding joshwooding requested a review from pseys January 21, 2025 13:30
@joshwooding joshwooding added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Jan 21, 2025
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Jan 21, 2025
@joshwooding joshwooding marked this pull request as ready for review January 21, 2025 14:27
@joshwooding joshwooding merged commit c5d61e2 into jpmorganchase:main Jan 21, 2025
14 of 15 checks passed
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.

Toast's icon in HD is misaligned
3 participants