fix: remove card wrapping from bare inputs + fix privacy false-dirty on load

This commit is contained in:
Usman Baig
2026-03-25 22:49:25 +01:00
parent 095b68d769
commit d819b4bd17
4 changed files with 31 additions and 31 deletions

View File

@@ -69,8 +69,8 @@ export default function AccountProfileTab({ onDirtyChange, onRegisterSave }: { o
</div>
{/* Display Name */}
<div className="space-y-3">
<div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30">
<div className="space-y-4">
<div>
<label className="block text-sm font-medium text-neutral-300 mb-1.5">Display Name</label>
<Input
value={displayName}
@@ -79,8 +79,7 @@ export default function AccountProfileTab({ onDirtyChange, onRegisterSave }: { o
/>
</div>
{/* Email — read-only display */}
<div className="p-4 rounded-xl border border-neutral-800 bg-neutral-800/30">
<div>
<label className="block text-sm font-medium text-neutral-300 mb-1.5">Email Address</label>
<Input value={user.email} disabled className="opacity-60" />
<p className="text-xs text-neutral-500 mt-1">Email changes require password verification. Use <a href="https://auth.ciphera.net/settings" target="_blank" rel="noopener noreferrer" className="text-brand-orange hover:underline">Ciphera Auth</a> to change your email.</p>