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