Browse Source

fix(gui-v2): provide proper width for loading

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3236/head
Pranav C 2 years ago
parent
commit
8c8ebc52ad
  1. 7
      packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index.vue

7
packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index.vue

@ -50,7 +50,7 @@ const { isOpen, toggle } = useSidebar()
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
<span class="flex-1" /> <span class="flex-1" />
<div class="flex justify-center align-self-center mr-2"> <div class="flex justify-center align-self-center mr-2 min-w-[115px]">
<div v-show="isLoading" class="flex items-center gap-2 ml-3 text-white"> <div v-show="isLoading" class="flex items-center gap-2 ml-3 text-white">
{{ $t('general.loading') }} {{ $t('general.loading') }}
@ -79,11 +79,14 @@ const { isOpen, toggle } = useSidebar()
@apply !bg-white/0; @apply !bg-white/0;
} }
& > .ant-tabs-nav-wrap > .ant-tabs-nav-list {
.ant-tabs-nav-add { .ant-tabs-nav-add {
@apply !hidden; @apply !hidden;
} }
.ant-tabs-nav-more {
@apply text-white;
}
& > .ant-tabs-nav-wrap > .ant-tabs-nav-list {
& > .ant-tabs-tab-active { & > .ant-tabs-tab-active {
@apply font-weight-medium; @apply font-weight-medium;
} }

Loading…
Cancel
Save