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

Remove the border radius from card. #317

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

StevenDufresne
Copy link
Contributor

This PR removes the border-radius that was added to the Card component in Gutenberg: WordPress/gutenberg#65053.

Considerations

I could have used the isRounded property to stop the rounding. I decide to do it with CSS instead. Since the box-shadow uses rgba by default we get some overlap in the corners of the items. Seeing that we'll need that CSS, I decide to enforce it with CSS.

We ultimately need to remove the card component completely. It's not meant for this type of use.

@StevenDufresne StevenDufresne merged commit 967c4ac into trunk Oct 16, 2024
2 checks passed
@StevenDufresne StevenDufresne deleted the fix/unround-status branch October 16, 2024 00:12
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.

1 participant