From bc56c2dcc121dfcb49adf6ed21384e985822eaf9 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 4 Jul 2026 13:36:33 +0200 Subject: [PATCH] fix(plugins): make the detail dialog screenshot fill the full width aspect-[16/9] together with max-h-64 made the browser shrink the image width to keep the ratio once the height was capped, leaving a grey strip on the right. Drop the max-height so the header image spans the dialog. --- .../components/Admin/AdminPluginsPanel.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/client/src/components/Admin/AdminPluginsPanel.tsx b/client/src/components/Admin/AdminPluginsPanel.tsx index c66841ef2..9da7ec5c0 100644 --- a/client/src/components/Admin/AdminPluginsPanel.tsx +++ b/client/src/components/Admin/AdminPluginsPanel.tsx @@ -263,7 +263,7 @@ export default function AdminPluginsPanel() { const anyFilter = q.trim() !== '' || typeFilter !== 'all' || statusFilter !== 'all' return ( -
+
{/* Click-away layer for any open dropdown (filters or a row's ⋯ menu). */} {menu &&
setMenu(null)} />} {/* Header */} @@ -472,12 +472,17 @@ function FilterMenu({ id, label, valueLabel, options, onPick, value, menu, setMe menu: string | null; setMenu: (v: string | null) => void; icon?: React.ReactNode }) { const open = menu === id + const active = value !== options[0]?.[0] return (
- {open && (
@@ -537,7 +542,7 @@ function InstalledRow({ p, t, busy, menu, setMenu, hasUpdate, latestVer, onToggl {p.last_error}
) : caps.length > 0 && ( -
+
{caps.map((c, i) => ( @@ -699,7 +704,7 @@ function PluginDetailModal({ item, installed, busy, onInstall, onClose, t, local
e.stopPropagation()}>
- +