From 45b67aa94d028cac7ce23a5624e4544358101496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Pen=CC=83alba?= Date: Thu, 23 Jul 2026 10:44:05 +0200 Subject: [PATCH] Let the stash review dialog scale with large windows The dialog was hard-capped at 1180x760, leaving big screens full of dead space while file names and diffs stayed cramped. Size it relative to the viewport (94vw x 90vh) so it grows with the window, with generous caps so it stays a centered dialog on very large displays. --- src/renderer/src/styles/features/dialogs.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/styles/features/dialogs.css b/src/renderer/src/styles/features/dialogs.css index 9af209c..386151c 100644 --- a/src/renderer/src/styles/features/dialogs.css +++ b/src/renderer/src/styles/features/dialogs.css @@ -750,8 +750,11 @@ .stash-review { display: flex; flex-direction: column; - width: min(1180px, 94vw); - height: min(760px, 86vh); + /* Scale with the window — a diff review earns all the room it can get. The + caps only kick in on very large displays, where an edge-to-edge dialog + reads worse than a generous centered one. */ + width: min(94vw, 2000px); + height: min(90vh, 1300px); padding: 0; overflow: hidden; }