Skip to content

Commit

Permalink
Fixed background overflow bug in Card component on Safari browsers (#815
Browse files Browse the repository at this point in the history
)

* Fixed corner background overflow bug in Card component on Safari browsers

* github-actions[bot] Regenerated snapshots

* github-actions[bot] Regenerated snapshots

---------

Co-authored-by: rezrah <[email protected]>
  • Loading branch information
rezrah and rezrah authored Nov 14, 2024
1 parent eb22cea commit 7345cc9
Show file tree
Hide file tree
Showing 5 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7345cc9

Please sign in to comment.