From 84e0b1a92fc0e430c610aac4bf3e99df32609e88 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sat, 2 Mar 2024 07:32:42 +0000 Subject: [PATCH] fix(nc-gui): form after submit text alignment issue --- .../nc-gui/components/smartsheet/Form.vue | 96 ++++++++++--------- .../[typeOrId]/form/[viewId]/index/index.vue | 4 +- .../[typeOrId]/form/[viewId]/index/survey.vue | 8 +- 3 files changed, 55 insertions(+), 53 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 466e72e15f..1349ca717d 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -688,56 +688,58 @@ useEventListener( :style="{ background: parseProp(formViewData?.meta)?.background_color || '#F9F9FA' }" data-testid="nc-form-wrapper-submit" > - - -
-
-
-

- {{ formViewData.heading }} -

- -
- -
-
+
+ -
-
- - - - -
- {{ - $t('msg.newFormWillBeLoaded', { - seconds: secondsRemain, - }) - }} +
+
+
+

+ {{ formViewData.heading }} +

+ +
+
+
-
- - {{ $t('activity.submitAnotherForm') }} - +
+
+ + + + +
+ {{ + $t('msg.newFormWillBeLoaded', { + seconds: secondsRemain, + }) + }} +
+ +
+ + {{ $t('activity.submitAnotherForm') }} + +
diff --git a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue index df37386d8c..7d8b029718 100644 --- a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue +++ b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue @@ -110,7 +110,7 @@ const onDecode = async (scannedCodeValue: string) => {