Browse Source

chore(gui-v2): add max-width to inputs on create & update pages

pull/3280/head
braks 2 years ago
parent
commit
8b5ebee1e4
  1. 11
      packages/nc-gui-v2/pages/index/index/[id].vue
  2. 13
      packages/nc-gui-v2/pages/index/index/create.vue

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

@ -86,7 +86,16 @@ await getProject()
<h1 class="prose-2xl font-bold self-center my-4">{{ $t('activity.editProject') }}</h1>
<a-form ref="form" :model="formState" name="basic" layout="vertical" no-style autocomplete="off" @finish="renameProject">
<a-form
ref="form"
:model="formState"
name="basic"
layout="vertical"
class="lg:max-w-3/4 w-full !mx-auto"
no-style
autocomplete="off"
@finish="renameProject"
>
<a-form-item :label="$t('labels.projName')" name="title" :rules="nameValidationRules">
<a-input v-model:value="formState.title" name="title" class="nc-metadb-project-name" />
</a-form-item>

13
packages/nc-gui-v2/pages/index/index/create.vue

@ -77,8 +77,17 @@ onMounted(async () => {
<h1 class="prose-2xl font-bold self-center my-4">{{ $t('activity.createProject') }}</h1>
<a-form ref="form" :model="formState" name="basic" layout="vertical" no-style autocomplete="off" @finish="createProject">
<a-form-item :label="$t('labels.projName')" name="title" :rules="nameValidationRules" class="my-10 mx-10">
<a-form
ref="form"
:model="formState"
name="basic"
layout="vertical"
class="lg:max-w-3/4 w-full !mx-auto"
no-style
autocomplete="off"
@finish="createProject"
>
<a-form-item :label="$t('labels.projName')" name="title" :rules="nameValidationRules" class="m-10">
<a-input v-model:value="formState.title" name="title" class="nc-metadb-project-name" />
</a-form-item>

Loading…
Cancel
Save