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.
This commit is contained in:
lemon
2026-06-21 00:11:33 -07:00
parent 97f5f82b05
commit c380ef70ae
+2 -2
View File
@@ -572,7 +572,7 @@ const NsecLoginForm: React.FC<NsecLoginFormProps> = ({
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<NsecLoginFormProps> = ({
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()}