File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
resources/js/packages/ui/src/TimeTracker Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -222,10 +222,10 @@ useSelectEvents(
222222 <div
223223 v-if =" showDropdown && filteredRecentlyTrackedTimeEntries.length > 0"
224224 ref =" floating"
225- class =" z-50 w-full max-w-2xl "
225+ class =" z-50 w-[min(500px,100vw-2rem)] "
226226 :style =" floatingStyles" >
227227 <div
228- class =" rounded-lg w-full fixed min-w-xl top-0 left-0 border border-card-border overflow-none shadow-dropdown bg-card-background" >
228+ class =" rounded-lg w-full border border-card-border overflow-hidden shadow-dropdown bg-card-background" >
229229 <div
230230 class =" text-text-tertiary text-xs font-semibold border-b border-border-tertiary px-2 py-1.5" >
231231 Recently Tracked Time Entries
Original file line number Diff line number Diff line change @@ -28,19 +28,21 @@ const task = computed(() => {
2828 :data-select-id =" timeEntry.id"
2929 :class ="
3030 twMerge(
31- 'px-2 py-1.5 flex justify-between items-center space-x-2 w-full rounded',
31+ 'px-2 py-1.5 flex items-center space-x-2 w-full rounded text-left ',
3232 props.highlighted && 'bg-card-background-active'
3333 )
3434 " >
35- <span v-if =" timeEntry.description !== ''" class =" text-sm font-medium" >
35+ <span
36+ v-if =" timeEntry.description !== ''"
37+ class =" text-sm font-medium truncate min-w-0 flex-1" >
3638 {{ timeEntry.description }}
3739 </span >
38- <span v-else class =" text-sm text-text-tertiary font-medium" > No Description </span >
40+ <span v-else class =" text-sm text-text-tertiary font-medium flex-1 " > No Description </span >
3941 <ProjectBadge
4042 ref =" projectDropdownTrigger"
4143 :color =" project?.color"
4244 :name =" project?.name"
43- class =" " >
45+ class =" shrink-0 " >
4446 <div v-if =" project" class =" flex items-center lg:space-x-1 min-w-0" >
4547 <span class =" whitespace-nowrap text-xs" >
4648 {{ project?.name }}
You can’t perform that action at this time.
0 commit comments