Browse Source

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

pull/7218/head
Ramesh Mane 12 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; @apply !text-xs;
} }
</style> </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; @apply block;
} }
</style> </style>
<style lang="scss">
.ant-select-item-option-content {
@apply !flex !items-center;
}
</style>

Loading…
Cancel
Save