Skip to content

Commit b3e348b

Browse files
committed
fix(SummaryCard): clip overlay content to match image border-radius
Adds overflow:hidden and border-radius to imageSection to ensure overlay content is properly clipped within the rounded corners of the image.
1 parent 9627e94 commit b3e348b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/ui/src/components/Card/SummaryCard.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,6 @@
429429
/* Image Section - Make it position relative for absolute overlay positioning */
430430
.imageSection {
431431
position: relative;
432+
overflow: hidden; /* Clip overlay to match image border-radius */
433+
border-radius: 16px; /* Match image border-radius for proper overlay clipping */
432434
}

0 commit comments

Comments
 (0)