-
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
fix(tile-group): keep selection icon size consistent for large tiles #11215
base: dev
Are you sure you want to change the base?
fix(tile-group): keep selection icon size consistent for large tiles #11215
Conversation
</div> | ||
`; | ||
export const allVariantsHorizontal = createVariantsHtmlStory("horizontal"); | ||
export const allVariantsVertical = createVariantsHtmlStory("vertical"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you broke Chromatic 😄 https://www.chromatic.com/test?appId=6266d45509d7eb004aa254fb&id=677ce7bbb76f8e6437051490
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh noes! @eriklharper Would a shorter description value help here? We could split the all-variants stories, but it sort of defeats the purpose. 🥲
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'd have to just try shortening it I suppose and see it makes it small enough for Chromatic to capture, but yeah, possibly that could make a difference.
@eriklharper Fixed the hover outline regression. Would you mind taking another look? |
Related Issue: #10931
Summary
Fixes an issue where large tiles (w/o
description
) would cause the selection icon to be oversized and misaligned.Noteworthy changes