From c804bee0880948886b0090759bc142664dd6172b Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Thu, 27 Aug 2026 18:36:12 +0200 Subject: [PATCH] Put the approval prompt's Deny and Allow buttons on one row --- .../src/modules/approval/ApprovalDialog.tsx | 47 ++++++++++--------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/client/ui/frontend/src/modules/approval/ApprovalDialog.tsx b/client/ui/frontend/src/modules/approval/ApprovalDialog.tsx index dd442368b..ea862a85d 100644 --- a/client/ui/frontend/src/modules/approval/ApprovalDialog.tsx +++ b/client/ui/frontend/src/modules/approval/ApprovalDialog.tsx @@ -133,21 +133,14 @@ export default function ApprovalDialog() { {t("approval.countdown", { seconds: remaining })} - - + {/* Deny and Allow sit side by side, in the same order as the app's + other confirmations. The view-only variant is a wordier label than + either, so it gets its own row rather than squeezing all three. */} + {showViewOnly && ( )} - +
+ + +
);