Browse Source

fix : fixed position in searchbar

pull/7181/head
musharaf-nocodb 12 months ago
parent
commit
f2e1e9d5d3
  1. 6
      packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

6
packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

@ -108,12 +108,12 @@ watch(columns, () => {
size="small"
:dropdown-match-select-width="false"
dropdown-class-name="!rounded-lg nc-dropdown-toolbar-search-field-option max-w-64"
class="py-1 !absolute top-0 left-0 w-full h-full z-10 text-xs opacity-0"
class="py-1 !absolute top-2 left-0 w-full h-full z-10 text-xs opacity-0"
@change="onPressEnter"
>
<a-select-option v-for="op of columns" :key="op.value" v-e="['c:search:field:select']" :value="op.value">
<div class="text-[0.75rem] flex items-center gap-2">
<SmartsheetHeaderIcon class="text-sm" :column="op.column" />
<div class="text-sm flex items-center gap-2">
<SmartsheetHeaderIcon :column="op.column" />
<NcTooltip class="truncate flex-1" placement="top" show-on-truncate-only>
<template #title>{{ op.label }}</template>
{{ op.label }}

Loading…
Cancel
Save