refac
This commit is contained in:
1 parent
4e31fa4427
commit
3e3f138d93
2 files changed
+5
-3
No files matched your search
@@ -145,7 +145,7 @@
|
|||||||
<div class="flex-1 flex flex-col min-h-0 px-3 pb-3">
|
<div class="flex-1 flex flex-col min-h-0 px-3 pb-3">
|
||||||
<div class="grid grid-cols-7">
|
<div class="grid grid-cols-7">
|
||||||
{#each DAY_NAMES as day}
|
{#each DAY_NAMES as day}
|
||||||
<div class="px-2 py-1.5 text-xs text-gray-400 dark:text-gray-500 text-left">
|
<div class="px-2 py-1.5 text-xs text-gray-400 dark:text-gray-500 text-left truncate">
|
||||||
{$i18n.t(day)}
|
{$i18n.t(day)}
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
@@ -266,7 +266,7 @@
|
|||||||
|
|
||||||
<div class="ml-auto flex items-center gap-1">
|
<div class="ml-auto flex items-center gap-1">
|
||||||
<button
|
<button
|
||||||
class="text-xs px-2 py-1 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-850 transition text-gray-500 hover:text-gray-700 dark:hover:text-white"
|
class="hidden sm:inline text-xs px-2 py-1 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-850 transition text-gray-500 hover:text-gray-700 dark:hover:text-white"
|
||||||
on:click={goToToday}
|
on:click={goToToday}
|
||||||
>
|
>
|
||||||
{$i18n.t('Today')}
|
{$i18n.t('Today')}
|
||||||
@@ -285,7 +285,9 @@
|
|||||||
align="end"
|
align="end"
|
||||||
>
|
>
|
||||||
<svelte:fragment slot="trigger" let:selectedLabel>
|
<svelte:fragment slot="trigger" let:selectedLabel>
|
||||||
<span class="inline-flex h-input px-0.5 outline-hidden bg-transparent">
|
<span
|
||||||
|
class="inline-flex h-input px-0.5 outline-hidden bg-transparent truncate line-clamp-1"
|
||||||
|
>
|
||||||
{selectedLabel}
|
{selectedLabel}
|
||||||
</span>
|
</span>
|
||||||
<ChevronDown className="size-3.5" strokeWidth="2.5" />
|
<ChevronDown className="size-3.5" strokeWidth="2.5" />
|
||||||
|
|||||||
Reference in new issue
Block a user