Skip to content

Commit

Permalink
Fixed corner background overflow bug in Card component on Safari brow…
Browse files Browse the repository at this point in the history
…sers
  • Loading branch information
rezrah committed Nov 8, 2024
1 parent eb22cea commit 13eda80
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 90 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-rabbits-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Fixed corner background overflow bug in `Card` component on Safari browsers
84 changes: 0 additions & 84 deletions apps/docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/react/src/Card/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
.Card--skew {
height: 100%;
border-radius: var(--brand-borderRadius-large);
overflow: hidden;
}

.Card--skew:focus-within {
Expand Down

0 comments on commit 13eda80

Please sign in to comment.