fix(frontend) : align time-tracking filters with view mode toggle

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 08:34:07 +01:00
parent 445f51b473
commit 25b648a1b1

View File

@@ -13,11 +13,11 @@
</div> </div>
<div class="relative z-30 mt-4 flex flex-wrap items-center gap-3 sm:gap-4"> <div class="relative z-30 mt-4 flex flex-wrap items-center gap-3 sm:gap-4">
<h2 class="text-lg font-bold text-orange-500"> <h2 class="shrink-0 whitespace-nowrap text-lg font-bold text-orange-500">
{{ currentMonthLabel }} {{ currentMonthLabel }}
</h2> </h2>
<div class="flex items-center gap-1 rounded-md border border-neutral-200"> <div class="flex shrink-0 items-center gap-1 rounded-md border border-neutral-200">
<button class="px-2 py-1 text-neutral-500 hover:text-neutral-700" @click="navigatePrev"> <button class="px-2 py-1 text-neutral-500 hover:text-neutral-700" @click="navigatePrev">
<Icon name="mdi:chevron-left" size="20" /> <Icon name="mdi:chevron-left" size="20" />
</button> </button>
@@ -35,35 +35,41 @@
</button> </button>
</div> </div>
<MalioSelect <div class="[&>div]:!mt-0">
v-model="selectedUserId" <MalioSelect
:options="userOptions" v-model="selectedUserId"
min-width="!w-36 sm:!w-44" :options="userOptions"
text-field="text-sm" min-width="!w-36 sm:!w-44"
text-value="text-sm" text-field="text-sm"
label="User" text-value="text-sm"
empty-option-label="User" label="User"
/> empty-option-label="User"
/>
</div>
<MalioSelect <div class="[&>div]:!mt-0">
v-model="selectedProjectId" <MalioSelect
:options="projectOptions" v-model="selectedProjectId"
empty-option-label="Tous" :options="projectOptions"
label="Projet" empty-option-label="Tous"
min-width="!w-36 sm:!w-44" label="Projet"
text-field="text-sm" min-width="!w-36 sm:!w-44"
text-value="text-sm" text-field="text-sm"
/> text-value="text-sm"
/>
</div>
<MalioSelect <div class="[&>div]:!mt-0">
v-model="selectedTagId" <MalioSelect
:options="tagOptions" v-model="selectedTagId"
empty-option-label="Tous" :options="tagOptions"
label="Tag" empty-option-label="Tous"
min-width="!w-36 sm:!w-44" label="Tag"
text-field="text-sm" min-width="!w-36 sm:!w-44"
text-value="text-sm" text-field="text-sm"
/> text-value="text-sm"
/>
</div>
</div> </div>
</div> </div>