-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
DataViews: Fix rounded corners of cards in grid layout #58045
Conversation
Size Change: +1 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
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.
Thank you!
@oandregal @jameskoster Thanks for the review!
In #58071, I noticed that the preview area was turned into a button. Therefore, this PR approach may conflict with #58071. Fortunately, #58071 also seems to solve the problem that this PR is trying to solve, so I would like to close this PR. |
Thanks for your work, @t-hamano. Even if this PR is not merged, it was still valuable to raise an issue. |
Follow up #57880
What?
This PR ensures that the rounded corners of cards are displayed correctly in the data view as a grid layout.
Before
After
Why?
This is because the background color of the content inside is protruding.
How?
Simply applied
overflow: hidden
. Since the cards themselves are not focusable, the outline cutoff itself should not occur.Testing Instructions