Browse Source

Merge pull request #481 from Budibase/Padding-doesn't-match-between-preview-and-builder-#460-fix

Issue [iframe margin] #460 and frontend tab switch
gh-pages
Joe 6 years ago
committed by GitHub
parent
commit
908628471e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js
  2. 2
      packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte

1
packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js

@ -6,6 +6,7 @@ export default `<html>
body, html {
height: 100%!important;
font-family: Inter !important;
margin: 0px!important;
}
*, *:before, *:after {
box-sizing: border-box;

2
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]

Loading…
Cancel
Save