Browse Source

fix(nc-gui): truncate in CalendarRange.vue

pull/7611/head
DarkPhoenix2704 9 months ago
parent
commit
9334aa2812
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/CalendarRange.vue

4
packages/nc-gui/components/smartsheet/toolbar/CalendarRange.vue

@ -141,7 +141,7 @@ const removeRange = async (id: number) => {
> >
<div class="flex items-center"> <div class="flex items-center">
<SmartsheetHeaderIcon :column="option" /> <SmartsheetHeaderIcon :column="option" />
<NcTooltip class="truncate flex-1" placement="top" show-on-truncate-only> <NcTooltip class="truncate flex-1 max-w-18" placement="top" show-on-truncate-only>
<template #title>{{ option.label }}</template> <template #title>{{ option.label }}</template>
{{ option.label }} {{ option.label }}
</NcTooltip> </NcTooltip>
@ -184,7 +184,7 @@ const removeRange = async (id: number) => {
> >
<div class="flex items-center"> <div class="flex items-center">
<SmartsheetHeaderIcon :column="option" /> <SmartsheetHeaderIcon :column="option" />
<NcTooltip class="truncate flex-1" placement="top" show-on-truncate-only> <NcTooltip class="truncate flex-1 max-w-18" placement="top" show-on-truncate-only>
<template #title>{{ option.label }}</template> <template #title>{{ option.label }}</template>
{{ option.label }} {{ option.label }}
</NcTooltip> </NcTooltip>

Loading…
Cancel
Save