Update SearchSyntaxPopup.svelte

This commit is contained in:
freearhey 2025-02-10 03:17:02 +03:00
parent 27d53aa086
commit c72b227c03

View file

@ -62,9 +62,9 @@
</h3> </h3>
<CloseButton on:click={close} /> <CloseButton on:click={close} />
</div> </div>
<div class="overflow-y-auto overflow-x-hidden w-full"> <div class="overflow-y-auto overflow-x-scroll w-full scrollbar-hide">
<div class="p-6 text-gray-800 dark:text-white"> <div class="text-gray-800 dark:text-white p-6 inline-block">
<table class="w-full"> <table>
<thead> <thead>
<tr> <tr>
<th class="border p-2 dark:border-gray-700 font-semibold">Query</th> <th class="border p-2 dark:border-gray-700 font-semibold">Query</th>
@ -74,13 +74,14 @@
<tbody class="text-left"> <tbody class="text-left">
{#each examples as example} {#each examples as example}
<tr class="even:bg-gray-50 even:dark:bg-gray-700"> <tr class="even:bg-gray-50 even:dark:bg-gray-700">
<td class="border dark:border-gray-700 px-3 py-3 whitespace-nowrap"> <td class="border dark:border-gray-700 px-3 py-3 whitespace-nowrap min-w-[220px]">
<code <code
class="break-words text-sm text-gray-600 bg-gray-100 dark:text-gray-300 dark:bg-gray-700 px-2 py-1 rounded-sm select-all cursor-text font-mono" class="break-words text-sm text-gray-600 bg-gray-100 dark:text-gray-300 dark:bg-gray-700 px-2 py-1 rounded-sm select-all cursor-text font-mono"
>{example.query}</code >{example.query}</code
> >
</td> </td>
<td class="border dark:border-gray-700 px-4 py-3">{example.result}</td> <td class="border dark:border-gray-700 px-4 py-3 min-w-[260px]">{example.result}</td
>
</tr> </tr>
{/each} {/each}
</tbody> </tbody>