Replace fixed text length with css line-clamp (#96)

This commit is contained in:
mchev
2024-06-05 14:36:32 +02:00
committed by GitHub
parent bf5a8cdb28
commit 592a537379
15 changed files with 18 additions and 27 deletions

View File

@@ -152,13 +152,11 @@
<router-link :to="{ path: `customers/${row.data.id}/view` }">
<BaseText
:text="row.data.name"
:length="30"
tag="span"
class="font-medium text-primary-500 flex flex-col"
/>
<BaseText
:text="row.data.contact_name ? row.data.contact_name : ''"
:length="30"
tag="span"
class="text-xs text-gray-400"
/>