Browse Source

Merge pull request #3246 from nocodb/chore/gui-v2-edit-or-add-width

chore(gui-v2): fine tune EditOrAdd width
pull/3253/head
Raju Udava 2 years ago committed by GitHub
parent
commit
7b189285af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

7
packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

@ -99,7 +99,12 @@ useEventListener(document, 'click', handleClose)
</script>
<template>
<div ref="editOrAddRef" class="min-w-[400px] max-h-[95vh] bg-gray-50 shadow-lg p-6 overflow-auto !border" @click.stop>
<div
ref="editOrAddRef"
class="w-[400px] max-h-[95vh] bg-gray-50 shadow-lg p-6 overflow-auto !border"
:class="{ '!w-[600px]': formState.uidt === UITypes.Formula }"
@click.stop
>
<a-form v-if="formState" v-model="formState" name="column-create-or-edit" layout="vertical">
<div class="flex flex-col gap-2">
<a-form-item :label="$t('labels.columnName')" v-bind="validateInfos.title">

Loading…
Cancel
Save