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 6fd3ee9..416b474 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 f19449b..64758bd 100644 --- a/web/src/components/object.rs +++ b/web/src/components/object.rs @@ -28,7 +28,7 @@ pub fn Attachment( view! {