Browse Source

fix : fixed check-icon size

pull/7181/head
musharaf-nocodb 12 months ago
parent
commit
412d34e0f6
  1. 8
      packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue
  3. 2
      packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue
  4. 8
      packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue
  5. 2
      packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue

8
packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue

@ -357,7 +357,7 @@ onBeforeUnmount(() => {
<component
v-if="filter.logical_op === op.value"
id="selected-item-icon"
class="text-primary w-5 h-5"
class="text-primary w-4 h-4"
:is="iconMap.check"
/>
</div>
@ -411,7 +411,7 @@ onBeforeUnmount(() => {
<component
v-if="filter.logical_op === op.value"
id="selected-item-icon"
class="text-primary w-5 h-5"
class="text-primary w-4 h-4"
:is="iconMap.check"
/>
</div>
@ -446,7 +446,7 @@ onBeforeUnmount(() => {
<component
v-if="filter.comparison_op === compOp.value"
id="selected-item-icon"
class="text-primary w-5 h-5"
class="text-primary w-4 h-4"
:is="iconMap.check"
/>
</div>
@ -480,7 +480,7 @@ onBeforeUnmount(() => {
<component
v-if="filter.comparison_sub_op === compSubOp.value"
id="selected-item-icon"
class="text-primary w-5 h-5"
class="text-primary w-4 h-4"
:is="iconMap.check"
/>
</div>

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

@ -94,7 +94,7 @@ if (!localValue.value && allowEmpty !== true) {
</span>
</NcTooltip>
</div>
<component v-if="localValue === option.value" id="selected-item-icon" class="text-primary w-5 h-5" :is="iconMap.check" />
<component v-if="localValue === option.value" id="selected-item-icon" class="text-primary w-4 h-4" :is="iconMap.check" />
</div>
</a-select-option>
</NcSelect>

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

@ -253,7 +253,7 @@ watch(meta, async () => {
<component
v-if="group.sort === option.value"
id="selected-item-icon"
class="text-primary w-5 h-5"
class="text-primary w-4 h-4"
:is="iconMap.check"
/>
</div>

8
packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

@ -73,12 +73,12 @@ useMenuCloseOnEsc(open)
<div class="nc-row-height-option" @click="updateRowHeight(0)">
<GeneralIcon icon="heightShort" class="nc-row-height-icon" />
{{ $t('objects.heightClass.short') }}
<component v-if="!(view?.view as GridType).row_height" class="text-primary w-5 h-5 " :is="iconMap.check" />
<component v-if="!(view?.view as GridType).row_height" class="text-primary w-4 h-4" :is="iconMap.check" />
</div>
<div class="nc-row-height-option" @click="updateRowHeight(1)">
<GeneralIcon icon="heightMedium" class="nc-row-height-icon" />
{{ $t('objects.heightClass.medium') }}
<component v-if=" (view?.view as GridType).row_height === 1" class="text-primary w-5 h-5 " :is="iconMap.check" />
<component v-if=" (view?.view as GridType).row_height === 1" class="text-primary w-4 h-4" :is="iconMap.check" />
</div>
<div
class="nc-row-height-option"
@ -87,7 +87,7 @@ useMenuCloseOnEsc(open)
>
<GeneralIcon icon="heightTall" class="nc-row-height-icon" />
{{ $t('objects.heightClass.tall') }}
<component v-if=" (view?.view as GridType).row_height === 2" class="text-primary w-5 h-5 " :is="iconMap.check" />
<component v-if=" (view?.view as GridType).row_height === 2" class="text-primary w-4 h-4" :is="iconMap.check" />
</div>
<div
class="nc-row-height-option"
@ -96,7 +96,7 @@ useMenuCloseOnEsc(open)
>
<GeneralIcon icon="heightExtra" class="nc-row-height-icon" />
{{ $t('objects.heightClass.extra') }}
<component v-if=" (view?.view as GridType).row_height === 3" class="text-primary w-5 h-5 " :is="iconMap.check" />
<component v-if=" (view?.view as GridType).row_height === 3" class="text-primary w-4 h-4" :is="iconMap.check" />
</div>
</div>
</div>

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

@ -164,7 +164,7 @@ onMounted(() => {
<component
v-if="sort.direction === option.value"
id="selected-item-icon"
class="text-primary w-5 h-5"
class="text-primary w-4 h-4"
:is="iconMap.check"
/>
</div>

Loading…
Cancel
Save