Browse Source

fix(nc-gui): rich text cell height issue in grid view #3919

pull/9970/head
Ramesh Mane 5 days ago
parent
commit
d56e6aaaad
  1. 4
      packages/nc-gui/components/cell/TextArea.vue

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

@ -342,8 +342,8 @@ watch([isVisible, inputRef], (value) => {
'nc-readonly-rich-text-sort-height': localRowHeight === 1 && !isExpandedFormOpen && !isForm, 'nc-readonly-rich-text-sort-height': localRowHeight === 1 && !isExpandedFormOpen && !isForm,
}" }"
:style="{ :style="{
maxHeight: isForm ? undefined : isExpandedFormOpen ? `${height}px` : `${21 * rowHeightTruncateLines(localRowHeight)}px`, maxHeight: isForm ? undefined : isExpandedFormOpen ? `${height}px` : `${16.6 * rowHeightTruncateLines(localRowHeight)}px`,
minHeight: isForm ? undefined : isExpandedFormOpen ? `${height}px` : `${21 * rowHeightTruncateLines(localRowHeight)}px`, minHeight: isForm ? undefined : isExpandedFormOpen ? `${height}px` : `${16.5 * rowHeightTruncateLines(localRowHeight)}px`,
}" }"
@dblclick="onExpand" @dblclick="onExpand"
@keydown.enter="onExpand" @keydown.enter="onExpand"

Loading…
Cancel
Save