fix responsive issues in timetracker recently tracked entries dropdown

This commit is contained in:
Gregor Vostrak
2026-02-03 14:30:56 +01:00
parent a58becc268
commit 03e0377101
2 changed files with 8 additions and 6 deletions

View File

@@ -222,10 +222,10 @@ useSelectEvents(
<div
v-if="showDropdown && filteredRecentlyTrackedTimeEntries.length > 0"
ref="floating"
class="z-50 w-full max-w-2xl"
class="z-50 w-[min(500px,100vw-2rem)]"
:style="floatingStyles">
<div
class="rounded-lg w-full fixed min-w-xl top-0 left-0 border border-card-border overflow-none shadow-dropdown bg-card-background">
class="rounded-lg w-full border border-card-border overflow-hidden shadow-dropdown bg-card-background">
<div
class="text-text-tertiary text-xs font-semibold border-b border-border-tertiary px-2 py-1.5">
Recently Tracked Time Entries