fix design inconsistencies in time entry edit modal

This commit is contained in:
Gregor Vostrak
2026-03-17 16:28:42 +01:00
parent 57ed6036e6
commit a58566d002

View File

@@ -160,12 +160,13 @@ const billableProxy = computed({
@keydown.enter="submit" /> @keydown.enter="submit" />
</div> </div>
</div> </div>
<div class="flex flex-col sm:flex-row sm:items-end gap-2 sm:gap-4"> <div class="flex flex-col sm:flex-row sm:items-end gap-2">
<div class="flex-1 min-w-0"> <div class="flex-1 min-w-0">
<TimeTrackerProjectTaskDropdown <TimeTrackerProjectTaskDropdown
v-model:project="editableTimeEntry.project_id" v-model:project="editableTimeEntry.project_id"
v-model:task="editableTimeEntry.task_id" v-model:task="editableTimeEntry.task_id"
variant="input" variant="input"
size="default"
:clients :clients
:create-project :create-project
:create-client :create-client
@@ -182,7 +183,7 @@ const billableProxy = computed({
:tags="tags" :tags="tags"
:show-no-tag-option="false"> :show-no-tag-option="false">
<template #trigger> <template #trigger>
<Button variant="input" size="sm"> <Button variant="input">
<TagIcon class="h-4 text-icon-default" /> <TagIcon class="h-4 text-icon-default" />
<span>{{ <span>{{
editableTimeEntry.tags.length === 0 editableTimeEntry.tags.length === 0
@@ -193,7 +194,7 @@ const billableProxy = computed({
</template> </template>
</TagDropdown> </TagDropdown>
<Select v-model="billableProxy"> <Select v-model="billableProxy">
<SelectTrigger size="sm" :show-chevron="false"> <SelectTrigger :show-chevron="false">
<SelectValue class="flex items-center gap-2"> <SelectValue class="flex items-center gap-2">
<BillableIcon class="h-4 text-icon-default" /> <BillableIcon class="h-4 text-icon-default" />
<span>{{ <span>{{