refac
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
<div class="flex-1 flex flex-col min-h-0 px-3 pb-3">
|
||||
<div class="grid grid-cols-7">
|
||||
{#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)}
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
|
||||
<div class="ml-auto flex items-center gap-1">
|
||||
<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}
|
||||
>
|
||||
{$i18n.t('Today')}
|
||||
@@ -285,7 +285,9 @@
|
||||
align="end"
|
||||
>
|
||||
<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}
|
||||
</span>
|
||||
<ChevronDown className="size-3.5" strokeWidth="2.5" />
|
||||
|
||||
Reference in New Issue
Block a user