From 20ced62e1a9fa336046a15ad03f044dc21fb7af1 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Feb 2026 13:13:23 -0800 Subject: [PATCH] fix: approve-tx/approve-sign error divs consistency with confirm-tx Add min-h-[1.25rem] and border styling to approve-tx-error and approve-sign-error divs to prevent layout shift, matching the pattern used by modal-password-error in confirm-tx view. Replace direct DOM classList manipulation with showError()/hideError() helpers from helpers.js for consistency. Closes #84 --- src/popup/index.html | 10 ++++++++-- src/popup/views/approval.js | 17 ++++++++--------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index d5bbf90..7450b41 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -1139,7 +1139,10 @@ class="border border-border p-1 w-full font-mono text-sm bg-bg text-fg" /> - +
- +