-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Tile] Improve spacing of content-top
/content-bottom
slots when used without title
, description
, icon
#4701
Comments
…9241) **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. <img width="1352" alt="image" src="https://github.com/Esri/calcite-design-system/assets/821864/dcc1f4bf-585d-496a-b756-9f1a2c467a7b"> --------- Co-authored-by: Erik Harper <[email protected]>
Installed and assigned for verification. |
It looks like slotted content, such as images don't appear to be adjusted, which might be expected. But it doesn't look like devs could adjust the @eriklharper Wondering if we need to explore more options, or open a new issue? For instance, with |
Installed and assigned for verification. |
Description
The tile component has extra leading / trailing padding when only the single slot is present, and a "double" padding between the slots when both are present.
Acceptance Criteria
We should ensure that when:
Relevant Info
Related to adding an image slot in #3462
Figma specs outlined here:
https://www.figma.com/file/8CiAVHkXIMTsI9hTSbotEz/Tile-Redesign-%5BEpic-6662%5D?type=design&node-id=720%3A3314&mode=design&t=4YnIETvXGuXWnUJU-1
Which Component
Tile
Example Use Case
https://codepen.io/mac_and_cheese/pen/gOvBqxy?editors=100
The text was updated successfully, but these errors were encountered: