Browse Source

fix(nc-gui): mark icons in grey from tookbar menu dropdown

pull/8188/head
Ramesh Mane 8 months ago
parent
commit
b29c0b9cfb
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldListWithSearch.vue
  3. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

2
packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue

@ -95,7 +95,7 @@ if (!localValue.value && allowEmpty !== true) {
<a-select-option v-for="option in options" :key="option.value" :label="option.label" :value="option.value"> <a-select-option v-for="option in options" :key="option.value" :label="option.label" :value="option.value">
<div class="flex items-center w-full justify-between w-full gap-2 max-w-50"> <div class="flex items-center w-full justify-between w-full gap-2 max-w-50">
<div class="flex gap-1 flex-1 items-center truncate items-center h-full"> <div class="flex gap-1 flex-1 items-center truncate items-center h-full">
<component :is="option.icon" class="min-w-5 !mx-0" /> <component :is="option.icon" class="min-w-5 !mx-0 !text-gray-500" />
<NcTooltip <NcTooltip
:style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }" :style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"
class="max-w-[15rem] truncate select-none" class="max-w-[15rem] truncate select-none"

2
packages/nc-gui/components/smartsheet/toolbar/FieldListWithSearch.vue

@ -157,7 +157,7 @@ watch(
'max-w-full': !showSelectedOption, 'max-w-full': !showSelectedOption,
}" }"
> >
<SmartsheetHeaderIcon :column="option" class="!w-3.5 !h-3.5 !text-gray-700" /> <SmartsheetHeaderIcon :column="option" class="!w-3.5 !h-3.5 !text-gray-500" />
<NcTooltip class="truncate" show-on-truncate-only> <NcTooltip class="truncate" show-on-truncate-only>
<template #title> {{ option.title }}</template> <template #title> {{ option.title }}</template>
<span> <span>

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

@ -423,7 +423,7 @@ useMenuCloseOnEsc(open)
} }
" "
> >
<component :is="getIcon(metaColumnById[field.fk_column_id])" class="!w-3.5 !h-3.5 !text-gray-700" /> <component :is="getIcon(metaColumnById[field.fk_column_id])" class="!w-3.5 !h-3.5 !text-gray-500" />
<NcTooltip class="flex-1 pl-1 pr-2 truncate" show-on-truncate-only :disabled="isDragging"> <NcTooltip class="flex-1 pl-1 pr-2 truncate" show-on-truncate-only :disabled="isDragging">
<template #title> <template #title>
{{ field.title }} {{ field.title }}

Loading…
Cancel
Save