Commit adcedb3
authored
feat(card): overflow hidden on cover photo for swc implementation (#2661)
Adds overflow hidden to the .spectrum-Card-coverPhoto class, to help
resolve an issue in the SWC implementation that uses sp-asset.
In SWC the photo could appear from behind the corners of the card. For
example, when increasing the corner rounding when setting the mod
--mod-card-corner-radius. This issue is not visible in Spectrum CSS.1 parent f0cdafe commit adcedb3
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
0 commit comments