Browse Source

fix(gui-v2): centrally align create/create-external/edit project page cards

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3272/head
Pranav C 2 years ago
parent
commit
934578bfee
  1. 1
      packages/nc-gui-v2/components.d.ts
  2. 2
      packages/nc-gui-v2/pages/project/index/[id].vue
  3. 2
      packages/nc-gui-v2/pages/project/index/create-external.vue
  4. 2
      packages/nc-gui-v2/pages/project/index/create.vue

1
packages/nc-gui-v2/components.d.ts vendored

@ -34,6 +34,7 @@ declare module '@vue/runtime-core' {
AInputSearch: typeof import('ant-design-vue/es')['InputSearch']
ALayout: typeof import('ant-design-vue/es')['Layout']
ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent']
ALayoutFooter: typeof import('ant-design-vue/es')['LayoutFooter']
ALayoutHeader: typeof import('ant-design-vue/es')['LayoutHeader']
ALayoutSider: typeof import('ant-design-vue/es')['LayoutSider']
AList: typeof import('ant-design-vue/es')['List']

2
packages/nc-gui-v2/pages/project/index/[id].vue

@ -64,7 +64,7 @@ onMounted(async () => {
</script>
<template>
<a-card class="w-[500px] mx-auto !mt-100px shadow-md">
<a-card class="w-[500px] !mx-auto !mt-100px shadow-md">
<h3 class="text-3xl text-center font-semibold mb-2">{{ $t('activity.editProject') }}</h3>
<a-form ref="form" :model="formState" name="basic" layout="vertical" autocomplete="off" @finish="renameProject">

2
packages/nc-gui-v2/pages/project/index/create-external.vue

@ -213,7 +213,7 @@ onMounted(() => {
</script>
<template>
<a-card class="max-w-[600px] mx-auto !mt-100px !mb-5 !shadow-md">
<a-card class="max-w-[600px] !mx-auto !mt-100px !mb-5 !shadow-md">
<GeneralNocoIcon />
<h3 class="text-3xl text-center font-semibold mt-8 mb-4">{{ $t('activity.createProject') }}</h3>

2
packages/nc-gui-v2/pages/project/index/create.vue

@ -55,7 +55,7 @@ onMounted(async () => {
</script>
<template>
<a-card :loading="isLoading" class="w-[500px] mx-auto !mt-100px shadow-md">
<a-card :loading="isLoading" class="w-[500px] !mx-auto !mt-100px shadow-md">
<GeneralNocoIcon />
<h3 class="text-3xl text-center font-semibold mt-8 mb-2">{{ $t('activity.createProject') }}</h3>

Loading…
Cancel
Save