From f8e72d1808aa439f9135deb5136b6e76d9bc4b74 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 22 Jun 2024 12:42:23 +0800 Subject: [PATCH] Prevent miscalculated width in large media container --- src/components/status.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/status.css b/src/components/status.css index b474ed04..208ee7df 100644 --- a/src/components/status.css +++ b/src/components/status.css @@ -1371,10 +1371,14 @@ body:has(#modal-container .carousel) .status .media img:hover { column-gap: 8px; flex-wrap: wrap; - .media[data-has-small-dimension] { + .media { width: var(--width, auto) !important; } + /* .media[data-has-small-dimension] { + width: var(--width, auto) !important; + } */ + figure { flex-direction: column;