From bba014af99ef433dd13cc15949b6837aaa88fc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 14 Jun 2021 15:07:27 +0100 Subject: [PATCH 1/2] Swap update and reset buttons --- www/form/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index 06d8b16aa..aac6c42c0 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -1931,7 +1931,7 @@ define([ return h('div.cp-form-send-container', [ invalid, cbox ? h('div.cp-form-anon-answer', cbox) : undefined, - send, reset + reset, send ]); }; var updateForm = function (framework, content, editable, answers, temp) { From 825badea71bfa6dc1c4195a881d3ec47e9f7feb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 14 Jun 2021 15:21:36 +0100 Subject: [PATCH 2/2] Fix spacing at the bottom of form pages --- www/form/app-form.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/form/app-form.less b/www/form/app-form.less index 8c796dd4f..24ff46de3 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -177,7 +177,8 @@ .cp-form-creator-add-full { display: flex; flex-flow: column; - margin: 20px 0px 100px 0px; + margin: 20px 0px 0px 0px; + padding-bottom: 100px; &> div:first-child { display: flex; height: 100%; @@ -224,7 +225,8 @@ .cp-form-send-container { text-align: center; - margin: 50px auto 100px auto; + margin: 50px auto 0px auto; + padding-bottom: 100px; button { &:not(:last-child) { margin-right: 10px;