mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
fix: allow flexible display on cf turnstile
This commit is contained in:
@@ -482,9 +482,7 @@
|
||||
class="h-28 w-full resize-none rounded border border-neutral-700 bg-neutral-800 p-2 text-white outline-none"
|
||||
></textarea>
|
||||
{#if reportSiteKey}
|
||||
<div class="flex justify-center">
|
||||
<div class="cf-turnstile" bind:this={turnstileEl}></div>
|
||||
</div>
|
||||
<div class="cf-turnstile w-full" bind:this={turnstileEl}></div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -132,9 +132,7 @@
|
||||
/>
|
||||
{/if}
|
||||
{#if data.options?.cf_turnstile_site_key}
|
||||
<div class="flex w-full justify-center">
|
||||
<div class="cf-turnstile"></div>
|
||||
</div>
|
||||
<div class="cf-turnstile w-full"></div>
|
||||
{/if}
|
||||
<button
|
||||
type="submit"
|
||||
|
||||
@@ -252,9 +252,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
{#if data.options?.cf_turnstile_site_key && data.options?.registration_enabled}
|
||||
<div class="flex w-full justify-center">
|
||||
<div class="cf-turnstile"></div>
|
||||
</div>
|
||||
<div class="cf-turnstile w-full"></div>
|
||||
{/if}
|
||||
<button
|
||||
type="submit"
|
||||
|
||||
Reference in New Issue
Block a user