Browse Source

chore(nc-gui): revise the width of truncate text

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
61e9cbd7d3
  1. 2
      packages/nc-gui/components/general/TruncateText.vue
  2. 2
      packages/nc-gui/components/smartsheet/Kanban.vue

2
packages/nc-gui/components/general/TruncateText.vue

@ -35,7 +35,7 @@ const shortName = computed(() =>
<template #title>
<slot></slot>
</template>
<div>{{ shortName }}</div>
<div class="w-full">{{ shortName }}</div>
</a-tooltip>
<div v-else class="w-full"><slot></slot></div>
<div ref="text" class="hidden"><slot></slot></div>

2
packages/nc-gui/components/smartsheet/Kanban.vue

@ -214,7 +214,7 @@ onMounted(() => {
:class="{ capitalize: stack.title === 'uncategorized' }"
>
<GeneralTruncateText>{{ stack.title }}</GeneralTruncateText>
<span class="w-full flex">
<span class="w-full flex w-[15px]">
<mdi-menu-down class="text-grey text-lg ml-auto" />
</span>
</div>

Loading…
Cancel
Save