Browse Source

Merge pull request #398 from mjashanks/frontend_bugfixes

Frontend bugfixes from #387
pull/403/head
Michael Shanks 6 years ago
committed by GitHub
parent
commit
56a7fd930b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/builder/src/components/userInterface/AppPreview/iframeTemplate.js
  2. 3
      packages/builder/src/components/userInterface/propertyCategories.js
  3. 2
      packages/server/src/utilities/appDirectoryTemplate/pages/main/page.json
  4. 2
      packages/server/src/utilities/appDirectoryTemplate/pages/unauthenticated/page.json
  5. 3
      packages/server/src/utilities/builder/index.template.html

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

@ -1,5 +1,7 @@
export default `<html>
<head>
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono">
<style>
body, html {
height: 100%!important;

3
packages/builder/src/components/userInterface/propertyCategories.js

@ -123,7 +123,7 @@ export const margin = [
},
{
label: "Bottom",
key: "padding-bottom",
key: "margin-bottom",
control: OptionSelect,
options: [
{ label: "None", value: "0px" },
@ -352,7 +352,6 @@ export const typography = [
"Inter",
"Lucida Sans Unicode",
"Open Sans",
"Playfair",
"Roboto",
"Roboto Mono",
"Times New Roman",

2
packages/server/src/utilities/appDirectoryTemplate/pages/main/page.json

@ -4,6 +4,7 @@
"stylesheets": [],
"componentLibraries": ["@budibase/standard-components", "@budibase/materialdesign-components"],
"props" : {
"_id": "private-master-root",
"_component": "@budibase/standard-components/container",
"_children": [
{
@ -19,7 +20,6 @@
"_children": []
}
],
"_id": 0,
"type": "div",
"_styles": {
"active": {},

2
packages/server/src/utilities/appDirectoryTemplate/pages/unauthenticated/page.json

@ -7,6 +7,7 @@
"favicon": "./_shared/favicon.png",
"stylesheets": [],
"props": {
"_id": "public-master-root",
"_component": "@budibase/standard-components/container",
"_children": [
{
@ -31,7 +32,6 @@
"logo": ""
}
],
"_id": 1,
"type": "div",
"_styles": {
"layout": {},

3
packages/server/src/utilities/builder/index.template.html

@ -31,6 +31,9 @@
<link rel='stylesheet' href='/assets{{ pageStyle }}'>
{{ /if }}
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono">
<script src='/assets/clientFrontendDefinition.js'></script>
<script src='/assets/budibase-client.js'></script>

Loading…
Cancel
Save