From 987c450312e0bebfe8151bfe0d46d4866dd233ea Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 12 May 2024 01:20:55 +0200 Subject: [PATCH] fix(web): proper sizing of attachments --- web/index.html | 1 + web/src/components/object.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index 6fd3ee95..416b474b 100644 --- a/web/index.html +++ b/web/index.html @@ -186,6 +186,7 @@ border: 3px solid #bf616a; padding: 5px; object-fit: cover; + box-sizing: border-box; } img.expand, video.expand { diff --git a/web/src/components/object.rs b/web/src/components/object.rs index f19449b0..64758bdf 100644 --- a/web/src/components/object.rs +++ b/web/src/components/object.rs @@ -28,7 +28,7 @@ pub fn Attachment( view! {