From f3ee08fc3ea44def1bf0bcb3e423aa1dbd2e9830 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sat, 7 Dec 2024 07:37:12 +0000 Subject: [PATCH] fix(nc-gui): single select field cell search value input el placement issue --- packages/nc-gui/components/cell/SingleSelect.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/components/cell/SingleSelect.vue b/packages/nc-gui/components/cell/SingleSelect.vue index 874bc99e41..4a5eccd79e 100644 --- a/packages/nc-gui/components/cell/SingleSelect.vue +++ b/packages/nc-gui/components/cell/SingleSelect.vue @@ -395,7 +395,7 @@ const onFocus = () => { :disabled="readOnly || !editAllowed" :show-search="!isMobileMode && isOpen && active" :show-arrow="hasEditRoles && !readOnly && active && (vModel === null || vModel === undefined)" - :dropdown-class-name="`nc-dropdown-single-select-cell !min-w-156px ${isOpen && active ? 'active' : ''}`" + :dropdown-class-name="`nc-dropdown-single-select-cell !min-w-200px ${isOpen && active ? 'active' : ''}`" :dropdown-match-select-width="true" @select="onSelect" @keydown="onKeydown($event)" @@ -482,8 +482,12 @@ const onFocus = () => { text-overflow: clip; } -:deep(.ant-select-selection-search-input) { - @apply !text-xs; +:deep(.ant-select-selection-search) { + @apply flex items-center; + + .ant-select-selection-search-input { + @apply !text-xs; + } } :deep(.ant-select-clear > span) {