From 7579ff3076b34f0725442279af9bf25d63a7fade Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Tue, 21 Jul 2020 13:19:05 +0100 Subject: [PATCH] Issue [iframe padding] #460 and frontend tab switch Swapped the order of design and settings in the frontend builder - feedback from Darren Removed margin on iframe - feedback from Kev --- .../src/components/userInterface/AppPreview/iframeTemplate.js | 1 + .../components/userInterface/ComponentPropertiesPanel.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js b/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js index 8dce44f36a..edb35bb668 100644 --- a/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js +++ b/packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js @@ -6,6 +6,7 @@ export default ` body, html { height: 100%!important; font-family: Inter !important; + margin: 0px!important; } *, *:before, *:after { box-sizing: border-box; diff --git a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte index 38e4dd67a9..a7d0cec306 100644 --- a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte +++ b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte @@ -23,8 +23,8 @@ let codeEditor let flattenedPanel = flattenComponents(panelStructure.categories) let categories = [ - { value: "design", name: "Design" }, { value: "settings", name: "Settings" }, + { value: "design", name: "Design" }, { value: "events", name: "Events" }, ] let selectedCategory = categories[0]