mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +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"
|
class="h-28 w-full resize-none rounded border border-neutral-700 bg-neutral-800 p-2 text-white outline-none"
|
||||||
></textarea>
|
></textarea>
|
||||||
{#if reportSiteKey}
|
{#if reportSiteKey}
|
||||||
<div class="flex justify-center">
|
<div class="cf-turnstile w-full" bind:this={turnstileEl}></div>
|
||||||
<div class="cf-turnstile" bind:this={turnstileEl}></div>
|
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -132,9 +132,7 @@
|
|||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{#if data.options?.cf_turnstile_site_key}
|
{#if data.options?.cf_turnstile_site_key}
|
||||||
<div class="flex w-full justify-center">
|
<div class="cf-turnstile w-full"></div>
|
||||||
<div class="cf-turnstile"></div>
|
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
@@ -252,9 +252,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if data.options?.cf_turnstile_site_key && data.options?.registration_enabled}
|
{#if data.options?.cf_turnstile_site_key && data.options?.registration_enabled}
|
||||||
<div class="flex w-full justify-center">
|
<div class="cf-turnstile w-full"></div>
|
||||||
<div class="cf-turnstile"></div>
|
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user