Browse Source

fix: Added word break to long text

pull/6930/head
Muhammed Mustafa 1 year ago
parent
commit
ca5daf2a0e
  1. 10
      packages/nc-gui/components/cell/TextArea.vue

10
packages/nc-gui/components/cell/TextArea.vue

@ -106,7 +106,15 @@ onClickOutside(inputWrapperRef, (e) => {
<span v-else-if="vModel === null && showNull" class="nc-null uppercase">{{ $t('general.null') }}</span> <span v-else-if="vModel === null && showNull" class="nc-null uppercase">{{ $t('general.null') }}</span>
<LazyCellClampedText v-else-if="rowHeight" :value="vModel" :lines="rowHeight" class="mr-7" /> <LazyCellClampedText
v-else-if="rowHeight"
:value="vModel"
:lines="rowHeight"
class="mr-7 nc-text-area-clamped-text"
:style="{
'word-break': 'break-word',
}"
/>
<span v-else>{{ vModel }}</span> <span v-else>{{ vModel }}</span>

Loading…
Cancel
Save