From 576fe3ab15c3faa921eb68e42ebf5d007910a0a2 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Feb 2026 15:37:27 -0800 Subject: [PATCH] fix: replace visibility:hidden with smooth collapse for zero-tx warning Instead of permanently reserving space with visibility:hidden, the warning container now uses max-height + opacity transitions. Space is reserved during the async check, then smoothly collapses to 0 if the warning isn't needed. This reclaims ~40px of popup viewport in the common case. --- src/popup/index.html | 9 ++++++++- src/popup/views/confirmTx.js | 24 ++++++++++++++++-------- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index c77bd37..7083141 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -580,7 +580,14 @@