fix: improve scrolling in Show Request Logs

This commit is contained in:
Bo26fhmC5M
2025-05-18 22:09:27 +09:00
parent 12d87ac706
commit 2c4c2a0f2b

View File

@@ -96,11 +96,13 @@
<h2 class="text-green-700 mt-0 mb-2 w-40 max-w-full">Input</h2> <h2 class="text-green-700 mt-0 mb-2 w-40 max-w-full">Input</h2>
{/if} {/if}
{#if $alertStore.type === 'markdown'} {#if $alertStore.type === 'markdown'}
<span class="text-gray-300 chattext prose chattext2" class:prose-invert={$ColorSchemeTypeStore}> <div class="overflow-y-auto">
{#await ParseMarkdown($alertStore.msg) then msg} <span class="text-gray-300 chattext prose chattext2" class:prose-invert={$ColorSchemeTypeStore}>
{@html msg} {#await ParseMarkdown($alertStore.msg) then msg}
{/await} {@html msg}
</span> {/await}
</span>
</div>
{:else if $alertStore.type === 'tos'} {:else if $alertStore.type === 'tos'}
<!-- svelte-ignore a11y_missing_attribute --> <!-- svelte-ignore a11y_missing_attribute -->
<!-- svelte-ignore a11y_click_events_have_key_events --> <!-- svelte-ignore a11y_click_events_have_key_events -->