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 (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<div className='pb-3 w-100 mt-2' style={{ maxWidth: '600px' }}>
|
<div className='pb-3 w-100 mt-2' style={{ maxWidth: '600px' }}>
|
||||||
{hasOnlyOneAuthMethod(settings?.authMethods) && <AuthBanner />}
|
|
||||||
<SettingsHeader />
|
<SettingsHeader />
|
||||||
|
{hasOnlyOneAuthMethod(settings?.authMethods) && <AuthBanner />}
|
||||||
<Form
|
<Form
|
||||||
initial={{
|
initial={{
|
||||||
tipDefault: settings?.tipDefault || 21,
|
tipDefault: settings?.tipDefault || 21,
|
||||||
|
|
Loading…
Reference in New Issue