Fix layout shift between setting tabs (#1390)

This commit is contained in:
ekzyis 2024-09-11 18:14:56 +02:00 committed by GitHub
parent da2fabc95c
commit 0bf9fb0780
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -107,8 +107,8 @@ export default function Settings ({ ssrData }) {
return (
<Layout>
<div className='pb-3 w-100 mt-2' style={{ maxWidth: '600px' }}>
{hasOnlyOneAuthMethod(settings?.authMethods) && <AuthBanner />}
<SettingsHeader />
{hasOnlyOneAuthMethod(settings?.authMethods) && <AuthBanner />}
<Form
initial={{
tipDefault: settings?.tipDefault || 21,