diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index 19a8d5cde1..8223713743 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -428,7 +428,7 @@ const onFocus = () => { :style="{ 'display': '-webkit-box', 'max-width': '100%', - '-webkit-line-clamp': rowHeightTruncateLines(rowHeight), + '-webkit-line-clamp': rowHeightTruncateLines(rowHeight, true), '-webkit-box-orient': 'vertical', 'overflow': 'hidden', }" diff --git a/packages/nc-gui/components/cell/Rating.vue b/packages/nc-gui/components/cell/Rating.vue index 8aaf4e99ab..9f83625e05 100644 --- a/packages/nc-gui/components/cell/Rating.vue +++ b/packages/nc-gui/components/cell/Rating.vue @@ -72,7 +72,7 @@ watch(rateDomRef, () => { 'padding': isExpandedFormOpen ? '0px 8px' : '0px 2px', 'display': '-webkit-box', 'max-width': '100%', - '-webkit-line-clamp': rowHeightTruncateLines(rowHeight), + '-webkit-line-clamp': rowHeight === 6 ? 5 : rowHeightTruncateLines(rowHeight, true), '-webkit-box-orient': 'vertical', 'overflow': 'hidden', }" diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index c51602a5c5..e1e1436b57 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -1,5 +1,4 @@