From 9013cb02fe58655f164eb5862b1a8d3e4121d78a Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Wed, 5 Mar 2025 18:20:55 +0100 Subject: [PATCH] fix(catalog): embedded images that 404'd could overflow --- src/components/catalog-row/catalog-row.module.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/catalog-row/catalog-row.module.css b/src/components/catalog-row/catalog-row.module.css index 3b1aa1ef..df3843f8 100644 --- a/src/components/catalog-row/catalog-row.module.css +++ b/src/components/catalog-row/catalog-row.module.css @@ -72,6 +72,7 @@ display: inline-flex; justify-content: center; align-items: center; + clip-path: inset(-5px); /* direct media could change its dimensions after being published, so we need to clip the overflow. We can't use overflow: hidden because it will hide the box-shadow */ } .post img, .post video, .post audio {