Browse Source

fix : added tooltip for displayValue in fields

pull/7114/head
musharaf 1 year ago
parent
commit
9df46adf17
  1. 19
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

19
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -379,13 +379,13 @@ useMenuCloseOnEsc(open)
}
"
>
<div class="flex items-center -ml-0.75">
<div class="flex items-center">
<component :is="getIcon(metaColumnById[field.fk_column_id])" />
<NcTooltip :disabled="field.title.length < 30">
<template #title>
{{ field.title }}
</template>
<span class="mx-0.65 break-all line-clamp-1">{{ field.title }}</span>
<span class="px-1.5 max-w-60 line-clamp-1">{{ field.title }}</span>
</NcTooltip>
</div>
@ -408,19 +408,14 @@ useMenuCloseOnEsc(open)
@click.stop
>
<div class="flex flex-row items-center justify-between w-full">
<div class="flex items">
<a-tooltip placement="bottom">
<template #title>
<span class="text-sm">$t('title.displayValue') </span>
</template>
</a-tooltip>
<div class="flex items-center">
<div class="flex items-center truncate">
<component :is="getIcon(metaColumnById[filteredFieldList[0].fk_column_id as string])" />
<NcTooltip class="px-1.5 truncate">
<template #title>{{ filteredFieldList[0].title }}</template>
<span>{{ filteredFieldList[0].title }}</span>
</NcTooltip>
</div>
</div>
<NcSwitch v-e="['a:fields:show-hide']" :checked="true" :disabled="true" />
</div>
</div>

Loading…
Cancel
Save