From a664a0372f4603889083370f3343c713d63f4053 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 29 Apr 2024 02:42:59 +0200 Subject: [PATCH] fix(web): video max sizing, cursor --- web/index.html | 6 +++--- web/src/components/object.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/index.html b/web/index.html index 1139985..0c3565e 100644 --- a/web/index.html +++ b/web/index.html @@ -154,11 +154,10 @@ img.inline-avatar { max-height: 2em; } - p.box { + .box { border: 3px solid #bf616a; - width: 100%; } - p.cursor { + .cursor { cursor: pointer; } video.attachment { @@ -176,6 +175,7 @@ video.expand { height: unset; max-height: 55vh; + max-width: 100%; object-fit: contain; } div.tl-header { diff --git a/web/src/components/object.rs b/web/src/components/object.rs index b41e2a2..b21b1d2 100644 --- a/web/src/components/object.rs +++ b/web/src/components/object.rs @@ -40,7 +40,7 @@ pub fn Attachment( "video" => view! { -

@@ -48,7 +48,7 @@ pub fn Attachment( audio clip -

+ }.into_view(), "audio" =>