Browse Source

fix: minor UI padding corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2760/head
Raju Udava 2 years ago
parent
commit
9a959f7166
  1. 2
      packages/nc-gui-v2/components/tabs/auth/ApiTokenManagement.vue
  2. 4
      packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue

2
packages/nc-gui-v2/components/tabs/auth/ApiTokenManagement.vue

@ -194,7 +194,7 @@ onMounted(() => {
<template #overlay>
<a-menu>
<a-menu-item>
<div class="flex flex-row items-center py-1 h-[1rem]" @click="openDeleteModal(item)">
<div class="flex flex-row items-center py-3 h-[1rem]" @click="openDeleteModal(item)">
<MdiDeleteOutlineIcon class="flex" />
<div class="text-xs pl-2">{{ $t('general.remove') }}</div>
</div>

4
packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue

@ -207,8 +207,8 @@ onMounted(() => {
<template #overlay>
<a-menu>
<a-menu-item>
<div v-if="base?.uuid" @click="disableSharedBase">{{ $t('activity.shareBase.disable') }}</div>
<div v-else @click="createShareBase(ShareBaseRole.Viewer)">{{ $t('activity.shareBase.enable') }}</div>
<div class="py-3" v-if="base?.uuid" @click="disableSharedBase">{{ $t('activity.shareBase.disable') }}</div>
<div v-else class="py-3" @click="createShareBase(ShareBaseRole.Viewer)">{{ $t('activity.shareBase.enable') }}</div>
</a-menu-item>
</a-menu>
</template>

Loading…
Cancel
Save