Browse Source

fix(nc-gui): select input dropdown tick mark always to the right

pull/8188/head
Ramesh Mane 8 months ago
parent
commit
425393da8c
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue
  2. 4
      packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue

2
packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue

@ -284,7 +284,7 @@ watch(meta, async () => {
:key="j" :key="j"
:value="option.value" :value="option.value"
> >
<div class="flex items-center justify-between gap-2"> <div class="w-full flex items-center justify-between gap-2">
<div class="truncate flex-1">{{ option.text }}</div> <div class="truncate flex-1">{{ option.text }}</div>
<component <component
:is="iconMap.check" :is="iconMap.check"

4
packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue

@ -160,7 +160,7 @@ onMounted(() => {
v-model:value="sort.direction" v-model:value="sort.direction"
class="shrink grow-0 nc-sort-dir-select" class="shrink grow-0 nc-sort-dir-select"
:label="$t('labels.operation')" :label="$t('labels.operation')"
dropdown-class-name="sort-dir-dropdown nc-dropdown-sort-dir" dropdown-class-name="sort-dir-dropdown nc-dropdown-sort-dir !rounded-lg"
@click.stop @click.stop
@select="saveOrUpdate(sort, i)" @select="saveOrUpdate(sort, i)"
> >
@ -170,7 +170,7 @@ onMounted(() => {
v-e="['c:sort:operation:select']" v-e="['c:sort:operation:select']"
:value="option.value" :value="option.value"
> >
<div class="flex items-center justify-between gap-2"> <div class="w-full flex items-center justify-between gap-2">
<div class="truncate flex-1">{{ option.text }}</div> <div class="truncate flex-1">{{ option.text }}</div>
<component <component
:is="iconMap.check" :is="iconMap.check"

Loading…
Cancel
Save