Note activity fixed Dropdown box

This commit is contained in:
Simon Pocrnjič 2025-10-19 10:09:48 +02:00
parent abf1676292
commit 424151497d

View File

@ -138,11 +138,11 @@ const confirmDeleteAction = () => {
</td> </td>
<td class="py-2 pr-4 align-top"> <td class="py-2 pr-4 align-top">
<div class="max-w-[280px] whitespace-pre-wrap break-words leading-snug"> <div class="max-w-[280px] whitespace-pre-wrap break-words leading-snug">
<template v-if="row.note && row.note.length <= 160">{{ <template v-if="row.note && row.note.length <= 60">{{
row.note row.note
}}</template> }}</template>
<template v-else-if="row.note"> <template v-else-if="row.note">
<span>{{ row.note.slice(0, 160) }} </span> <span>{{ row.note.slice(0, 60) }} </span>
<Dropdown <Dropdown
align="left" align="left"
width="56" width="56"
@ -159,6 +159,7 @@ const confirmDeleteAction = () => {
<template #content> <template #content>
<div <div
class="max-h-60 overflow-auto text-[12px] whitespace-pre-wrap break-words" class="max-h-60 overflow-auto text-[12px] whitespace-pre-wrap break-words"
@click.stop
> >
{{ row.note }} {{ row.note }}
</div> </div>