Browse Source

chore(gui-v2): fine tune EditOrAdd width

pull/3246/head
Wing-Kam Wong 2 years ago
parent
commit
240fbec51d
  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> </script>
<template> <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"> <a-form v-if="formState" v-model="formState" name="column-create-or-edit" layout="vertical">
<div class="flex flex-col gap-2"> <div class="flex flex-col gap-2">
<a-form-item :label="$t('labels.columnName')" v-bind="validateInfos.title"> <a-form-item :label="$t('labels.columnName')" v-bind="validateInfos.title">

Loading…
Cancel
Save