Skip to content

Commit c2fc88f

Browse files
committed
[LegacyCard] overflow hidden to protect border radius
1 parent 920e62e commit c2fc88f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/clean-jobs-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris': patch
3+
---
4+
5+
Protect border radius of `LegacyCard` with overflow hidden

polaris-react/src/components/LegacyCard/LegacyCard.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
background-color: var(--p-color-bg);
55
box-shadow: var(--p-shadow-md);
66
outline: var(--p-border-width-1) solid transparent;
7+
overflow: hidden;
78

89
+ .LegacyCard {
910
margin-top: var(--p-space-4);

0 commit comments

Comments
 (0)