Browse Source

refactor: show header text in one line

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
ec7752aadc
  1. 4
      packages/nc-gui/components/smartsheet/header/VirtualCell.vue

4
packages/nc-gui/components/smartsheet/header/VirtualCell.vue

@ -121,7 +121,9 @@ const closeAddColumnDropdown = () => {
<template #title>
{{ tooltipMsg }}
</template>
<span class="name" style="white-space: pre-line" :title="column.title"> {{ column.title }}</span>
<span class="name" :class="{ 'truncate': !isForm, 'whitespace-pre-line': isForm }" :title="column.title">
{{ column.title }}
</span>
</a-tooltip>
<span v-if="isVirtualColRequired(column, meta?.columns || []) || required" class="text-red-500">&nbsp;*</span>

Loading…
Cancel
Save