Browse Source

fix : changed field span element to div

pull/7114/head
musharaf 1 year ago
parent
commit
c6eb59df32
  1. 11
      packages/nc-gui/components/smartsheet/header/Cell.vue

11
packages/nc-gui/components/smartsheet/header/Cell.vue

@ -92,19 +92,24 @@ const onClick = (e: Event) => {
/> />
<NcTooltip <NcTooltip
v-if="column" v-if="column"
class="name pl-1"
:class="{ :class="{
'cursor-pointer pt-0.25': !isForm && isUIAllowed('fieldEdit') && !hideMenu && !isExpandedForm, 'cursor-pointer pt-0.25': !isForm && isUIAllowed('fieldEdit') && !hideMenu && !isExpandedForm,
'cursor-default': isForm || !isUIAllowed('fieldEdit') || hideMenu, 'cursor-default': isForm || !isUIAllowed('fieldEdit') || hideMenu,
'!truncate': !isForm, '!truncate': !isForm,
}" }"
class="name pl-1"
placement="bottom" placement="bottom"
> >
<template #title> {{ column.title }} </template> <template #title> {{ column.title }} </template>
<span :data-test-id="column.title"> <div
:class="{
'!truncate': !isForm,
}"
:data-test-id="column.title"
>
{{ column.title }} {{ column.title }}
</span> </div>
</NcTooltip> </NcTooltip>
<span v-if="(column.rqd && !column.cdf) || required" class="text-red-500">&nbsp;*</span> <span v-if="(column.rqd && !column.cdf) || required" class="text-red-500">&nbsp;*</span>

Loading…
Cancel
Save