Update ChannelItem.svelte

This commit is contained in:
Arhey 2022-10-19 01:06:17 +03:00
parent bcfb55cfab
commit b4cb5022d9

View file

@ -49,7 +49,7 @@
<tr <tr
class="border-b last:border-b-0 border-gray-200 dark:border-gray-700 hover:bg-gray-50 hover:dark:bg-gray-700 h-16" class="border-b last:border-b-0 border-gray-200 dark:border-gray-700 hover:bg-gray-50 hover:dark:bg-gray-700 h-16"
> >
<td class="pl-2 pr-4 md:pr-7"> <td class="pl-2 pr-4 md:pr-7 py-2">
<div class="inline-flex w-full align-middle justify-center whitespace-nowrap overflow-hidden"> <div class="inline-flex w-full align-middle justify-center whitespace-nowrap overflow-hidden">
{#if channel.logo} {#if channel.logo}
<img <img
@ -62,7 +62,7 @@
{/if} {/if}
</div> </div>
</td> </td>
<td class="pl-3 pr-2"> <td class="pl-3 pr-2 py-2">
<div> <div>
<div class="text-left"> <div class="text-left">
<a <a
@ -82,13 +82,13 @@
> >
Closed Closed
</div> </div>
{/if} {#if channel.native_name} {/if} {#if channel.alt_names.length}
<div class="text-sm text-gray-400 dark:text-gray-400">{channel.native_name}</div> <div class="text-sm text-gray-400 dark:text-gray-400">{channel.alt_names.join(', ')}</div>
{/if} {/if}
</div> </div>
</div> </div>
</td> </td>
<td class="px-2"> <td class="px-2 py-2">
<div> <div>
<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"
@ -96,7 +96,7 @@
> >
</div> </div>
</td> </td>
<td class="pl-2 pr-5"> <td class="pl-2 pr-5 py-2">
<div class="text-right flex justify-end space-x-3 items-center"> <div class="text-right flex justify-end space-x-3 items-center">
{#if guides.length} {#if guides.length}
<button <button