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(tile): fix spacing between content-top and content-bottom slots #9241

Merged
merged 11 commits into from
May 3, 2024

Conversation

eriklharper
Copy link
Contributor

Related Issue: #4701

Summary

This PR corrects the spacing between the content-top and content-bottom slotted content in Tile, ensuring there is a scale-specific gap between the two when both of them are present and none of the other content elements are supplied.

image

@eriklharper eriklharper requested a review from a team as a code owner May 2, 2024 00:17
@eriklharper eriklharper changed the title Eriklharper/4701 improve tile slot spacing fix(tile): fix spacing between content-top and content-bottom slots May 2, 2024
@eriklharper eriklharper added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label May 2, 2024
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label May 2, 2024
@eriklharper eriklharper added the low risk Issues with low risk for consideration in low risk milestones label May 2, 2024
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

Once comments have been addressed, this is good to murge!

packages/calcite-components/src/components/tile/tile.scss Outdated Show resolved Hide resolved
packages/calcite-components/src/components/tile/tile.tsx Outdated Show resolved Hide resolved
packages/calcite-components/src/components/tile/tile.tsx Outdated Show resolved Hide resolved
packages/calcite-components/src/components/tile/tile.scss Outdated Show resolved Hide resolved
@jcfranco
Copy link
Member

jcfranco commented May 2, 2024

@eriklharper E2E tests are failing, so it looks like tests might also need updating.

@eriklharper
Copy link
Contributor Author

@eriklharper E2E tests are failing, so it looks like tests might also need updating.

Fixed it. Had to do with removing a conditional for rendering the heading and description divs, which is not necessary for this PR, was a holdover from a previous experiment that I forgot to revert.

@eriklharper eriklharper added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels May 3, 2024
@eriklharper eriklharper merged commit 0b9443d into main May 3, 2024
16 checks passed
@eriklharper eriklharper deleted the eriklharper/4701-improve-tile-slot-spacing branch May 3, 2024 17:35
@github-actions github-actions bot added this to the 2024-05-28 - May Main Release milestone May 3, 2024
@geospatialem geospatialem removed this from the 2024-05-28 - May Main Release milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. low risk Issues with low risk for consideration in low risk milestones pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants