diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index 2c80de5eba..ff151dcefa 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -493,10 +493,20 @@ a { @apply p-4; } -.ant-select-item-option-selected:not(.ant-select-item-option-disabled), +.ant-select-item-option-selected:not(.ant-select-item-option-disabled):hover, .ant-select-item-option-active:not(.ant-select-item-option-disabled) { @apply bg-gray-300 bg-opacity-20; } +/* Add this to your global or component-specific stylesheet */ + +/* Hide the element with id selected-item-icon inside NcSelect */ +.ant-select-selection-item #selected-item-icon { + display: none; +} + +.ant-select-item-option-selected:not(.ant-select-item-option-disabled){ + @apply bg-transparent +} .ant-select-selection-search-input:focus { @apply !ring-0; diff --git a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue index 6d22c8dcf1..34bbd9f38c 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue @@ -352,9 +352,15 @@ onBeforeUnmount(() => { @change="saveOrUpdate(filter, i)" > - - {{ op.value }} - +
+
{{ op.value }}
+ +
@@ -400,9 +406,15 @@ onBeforeUnmount(() => { @click.stop > - - {{ op.value }} - +
+
{{ op.value }}
+ +
{ variant="solo" :disabled="filter.readOnly" hide-details - dropdown-class-name="nc-dropdown-filter-comp-op" + dropdown-class-name="nc-dropdown-filter-comp-op !max-w-80" @change="filterUpdateCondition(filter, i)" > @@ -452,7 +472,15 @@ onBeforeUnmount(() => { > @@ -546,6 +574,7 @@ onBeforeUnmount(() => { .nc-filter-item-remove-btn { @apply text-gray-600 hover:text-gray-800; } + .nc-filter-grid { @apply items-center w-full; } diff --git a/packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue b/packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue index b0e50fe97f..ac042c7ac1 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue @@ -80,17 +80,20 @@ if (!localValue.value && allowEmpty !== true) { dropdown-class-name="nc-dropdown-toolbar-field-list" > -
- - - - - {{ option.label }} - - +
+
+ + + + + {{ option.label }} + + +
+