From 343539e405d6da8760916f4bddc770b6c07d5888 Mon Sep 17 00:00:00 2001 From: "Gregory Markou (ai)" Date: Mon, 6 Jul 2026 11:23:15 +0200 Subject: [PATCH] fix(gui): match patched card subtitle to base cards The patched ROM card subtitle rendered a long "based on " line that WKWebView failed to clip inside the grid, spilling text across neighboring cards. Use the same system + size metadata line as base ROM cards so it stays short and consistent. Co-Authored-By: Claude --- crates/rompatch-gui/ui/src/components/LibraryPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/rompatch-gui/ui/src/components/LibraryPage.tsx b/crates/rompatch-gui/ui/src/components/LibraryPage.tsx index 1d6d6a7..8116ca4 100644 --- a/crates/rompatch-gui/ui/src/components/LibraryPage.tsx +++ b/crates/rompatch-gui/ui/src/components/LibraryPage.tsx @@ -494,8 +494,8 @@ function PatchedCard({ <div className="font-ui text-[11.5px] font-medium text-text leading-tight line-clamp-2 break-words tracking-[-0.1px]"> {patch.name} </div> - <div className="mt-0.5 font-mono text-[9px] uppercase text-text-faint tracking-[1px] truncate"> - based on {rom.title} + <div className="mt-0.5 font-mono text-[9px] uppercase text-text-faint tracking-[1px]"> + {rom.system} ยท {patch.outputSize} </div> </div> </button>