mirror of
https://github.com/frappe/books.git
synced 2025-01-22 22:58:28 +00:00
fix: Truncate overflowing ListCell
This commit is contained in:
parent
1632b3eb82
commit
4e0af18983
@ -37,11 +37,9 @@
|
||||
<ListCell
|
||||
v-for="column in columns"
|
||||
:key="column.label"
|
||||
:class="
|
||||
['Float', 'Currency'].includes(column.fieldtype)
|
||||
? 'text-right'
|
||||
: ''
|
||||
"
|
||||
:class="{
|
||||
'text-right': ['Float', 'Currency'].includes(column.fieldtype)
|
||||
}"
|
||||
:doc="doc"
|
||||
:column="column"
|
||||
></ListCell>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="py-4 flex items-center" :class="cellClass">
|
||||
<span v-if="!customRenderer">{{ columnValue }}</span>
|
||||
<div class="py-4 flex items-center truncate" :class="cellClass">
|
||||
<span class="truncate" v-if="!customRenderer">{{ columnValue }}</span>
|
||||
<component v-else :is="customRenderer" />
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user