Browse Source

chore(nc-gui): update form view styles

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
415dd78de6
  1. 2
      packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue
  2. 4
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

2
packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue

@ -5,7 +5,7 @@ const { passwordDlg, password, loadSharedView } = useSharedFormStoreOrThrow()
</script>
<template>
<div class="nc-form-view md:bg-primary bg-opacity-5 min-h-full flex flex-col nc-form-signin py-15">
<div class="nc-form-view md:bg-primary bg-opacity-5 h-full min-h-[600px] flex flex-col justify-center items-center nc-form-signin">
<NuxtPage />
<a-modal

4
packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

@ -21,7 +21,7 @@ function isRequired(_columnObj: Record<string, any>, required = false) {
<template>
<div
class="bg-white relative flex flex-col justify-center gap-2 w-full lg:max-w-1/2 max-w-500px m-auto p-4 md:(rounded-lg border-1 border-gray-200 shadow-xl)"
class="bg-white relative flex flex-col justify-center gap-2 w-full lg:max-w-1/2 max-w-500px m-auto p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)"
>
<template v-if="sharedFormView">
<general-noco-icon class="color-transition hover:(ring ring-accent)" :class="[isLoading ? 'animated-bg-gradient' : '']" />
@ -108,7 +108,7 @@ function isRequired(_columnObj: Record<string, any>, required = false) {
</div>
</div>
<div class="text-center my-9">
<div class="text-center">
<button type="submit" class="submit" @click="submitForm">
{{ $t('general.submit') }}
</button>

Loading…
Cancel
Save