From fb8be046e865f53ac97438aa55db797c839bd321 Mon Sep 17 00:00:00 2001 From: pancakes Date: Fri, 31 Jan 2025 22:51:43 +1000 Subject: [PATCH] [frontend/components] Use object-fit cover for blurred image attachments --- Iceshrimp.Frontend/Components/AttachmentComponent.razor.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Iceshrimp.Frontend/Components/AttachmentComponent.razor.css b/Iceshrimp.Frontend/Components/AttachmentComponent.razor.css index 0976a383..7ab4283a 100644 --- a/Iceshrimp.Frontend/Components/AttachmentComponent.razor.css +++ b/Iceshrimp.Frontend/Components/AttachmentComponent.razor.css @@ -63,7 +63,8 @@ audio.attachment { cursor: pointer; } -.blur-image { +img.blur-image { filter: blur(10rem); + object-fit: cover; cursor: pointer; } \ No newline at end of file