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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js
-
packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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] |
|
|
|
|