Browse Source

fix: Select option text and icon are not aligned center #7210

pull/7218/head
Ramesh Mane 9 months ago
parent
commit
d0a071f2ba
  1. 7
      packages/nc-gui/components/cell/MultiSelect.vue
  2. 6
      packages/nc-gui/components/cell/SingleSelect.vue

7
packages/nc-gui/components/cell/MultiSelect.vue

@ -558,3 +558,10 @@ const selectedOpts = computed(() => {
@apply !text-xs;
}
</style>
<style lang="scss">
.ant-select-item-option-content,
.ant-select-item-option-state {
@apply !flex !items-center;
}
</style>

6
packages/nc-gui/components/cell/SingleSelect.vue

@ -392,3 +392,9 @@ const selectedOpt = computed(() => {
@apply block;
}
</style>
<style lang="scss">
.ant-select-item-option-content {
@apply !flex !items-center;
}
</style>

Loading…
Cancel
Save