Browse Source

fix(nc-gui): reduce icon size from field list autocomplete dropdown

pull/8188/head
Ramesh Mane 8 months ago
parent
commit
969398ca19
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue

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

@ -94,8 +94,8 @@ 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.5 flex-1 items-center truncate items-center h-full">
<component :is="option.icon" class="min-w-5 !mx-0 !text-gray-500" /> <component :is="option.icon" class="!w-3.5 !h-3.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"

Loading…
Cancel
Save