fix(auth): use absolute positioning for Turnstile container (#3718)

h-0 w-0 overflow-hidden was clipping the iframe, preventing
Turnstile from executing. absolute takes it out of flow without
clipping, fixing both the layout gap and the captcha failure.
This commit is contained in:
Waleed
2026-03-23 11:24:50 -07:00
committed by GitHub
parent 8294d8c88a
commit 9302a1b392
2 changed files with 2 additions and 2 deletions

View File

@@ -472,7 +472,7 @@ export default function LoginPage({
</div>
{turnstileSiteKey && (
<div className='h-0 w-0 overflow-hidden'>
<div className='absolute'>
<Turnstile
ref={turnstileRef}
siteKey={turnstileSiteKey}

View File

@@ -478,7 +478,7 @@ function SignupFormContent({
</div>
{turnstileSiteKey && (
<div className='h-0 w-0 overflow-hidden'>
<div className='absolute'>
<Turnstile
ref={turnstileRef}
siteKey={turnstileSiteKey}