Fix layout shift between setting tabs (#1390)
This commit is contained in:
parent
da2fabc95c
commit
0bf9fb0780
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue