From c380ef70aedac48b9ded46ffd4096d7ef9ff536e Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 21 Jun 2026 00:11:33 -0700 Subject: [PATCH] Match login secret-key input and upload button height to submit button Bump the nsec input and key-file upload icon button to h-12 / size-12 so they line up with the full-width 'Log in' submit button below them. --- src/components/auth/AuthDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/auth/AuthDialog.tsx b/src/components/auth/AuthDialog.tsx index cfdcb422..3877258c 100644 --- a/src/components/auth/AuthDialog.tsx +++ b/src/components/auth/AuthDialog.tsx @@ -572,7 +572,7 @@ const NsecLoginForm: React.FC = ({ placeholder={t('auth.nsecPlaceholder')} autoComplete="off" className={cn( - 'flex-1', + 'flex-1 h-12', loginError && 'border-destructive focus-visible:ring-destructive', )} /> @@ -587,7 +587,7 @@ const NsecLoginForm: React.FC = ({ type="button" variant="outline" size="icon" - className="shrink-0" + className="shrink-0 size-12" aria-label={t('auth.uploadKeyFile')} title={t('auth.uploadKeyFile')} onClick={() => fileInputRef.current?.click()}