From 6e6a0a074a898c80119a1bdf874eef6a24c8d94c Mon Sep 17 00:00:00 2001 From: Chell Date: Mon, 28 Nov 2022 14:10:49 +0100 Subject: [PATCH] fix: application edit mobile view (#1331) * fix: application edit mobile view * fix: decompose elements * fix: decomposition * fix: remove space component * Update ApplicationEditPage.js Co-authored-by: hsluoyz --- web/src/ApplicationEditPage.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/web/src/ApplicationEditPage.js b/web/src/ApplicationEditPage.js index c4c09524..4154b249 100644 --- a/web/src/ApplicationEditPage.js +++ b/web/src/ApplicationEditPage.js @@ -49,6 +49,9 @@ const template = ``; +const previewGrid = Setting.isMobile() ? 22 : 11; +const previewWidth = Setting.isMobile() ? "110%" : "90%"; + const sideTemplate = `