diff --git a/packages/builder/src/builderStore/generate_css.js b/packages/builder/src/builderStore/generate_css.js index abe6517a73..093b43337c 100644 --- a/packages/builder/src/builderStore/generate_css.js +++ b/packages/builder/src/builderStore/generate_css.js @@ -40,4 +40,3 @@ const apply_class = (id, name = "element", styles, selector) => { return `.${name}-${id}${sel} {\n${styles}\n}` } } - diff --git a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte index b2ca1936d2..27a4851c8d 100644 --- a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte +++ b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte @@ -40,10 +40,10 @@ styles = styles } - $: stylesheetLinks = pipe( - $store.pages.stylesheets, - [map(s => ``), join("\n")] - ) + $: stylesheetLinks = pipe($store.pages.stylesheets, [ + map(s => ``), + join("\n"), + ]) $: screensExist = $store.currentPreviewItem._screens && diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index bd733fb245..26929fcdce 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -16,15 +16,12 @@ const joinPath = join("/") const normalizedName = name => - pipe( - name, - [ - trimCharsStart("./"), - trimCharsStart("~/"), - trimCharsStart("../"), - trimChars(" "), - ] - ) + pipe(name, [ + trimCharsStart("./"), + trimCharsStart("~/"), + trimCharsStart("../"), + trimChars(" "), + ]) const lastPartOfName = c => { if (!c) return "" @@ -34,10 +31,10 @@ const isComponentSelected = (current, comp) => current === comp - $: _screens = pipe( - screens, - [map(c => ({ component: c, title: lastPartOfName(c) })), sortBy("title")] - ) + $: _screens = pipe(screens, [ + map(c => ({ component: c, title: lastPartOfName(c) })), + sortBy("title"), + ]) const confirmDeleteComponent = component => { componentToDelete = component diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte index c7b426b02b..eafc1834d0 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte @@ -22,11 +22,7 @@ const capitalise = s => s.substring(0, 1).toUpperCase() + s.substring(1) const get_name = s => (!s ? "" : last(s.split("/"))) - const get_capitalised_name = name => - pipe( - name, - [get_name, capitalise] - ) + const get_capitalised_name = name => pipe(name, [get_name, capitalise]) const moveDownComponent = component => { const c = component diff --git a/packages/builder/src/components/userInterface/propertyCategories.js b/packages/builder/src/components/userInterface/propertyCategories.js index ef60ba727c..07101779a5 100644 --- a/packages/builder/src/components/userInterface/propertyCategories.js +++ b/packages/builder/src/components/userInterface/propertyCategories.js @@ -130,8 +130,10 @@ export const border = [ { label: "Radius", key: "border-radius", control: Input }, { label: "Width", key: "border-width", control: Input }, //custom { - label: "Color", key: "border-color", control: OptionSelect, - options: ["black", "white", "red", "blue", "green"] + label: "Color", + key: "border-color", + control: OptionSelect, + options: ["black", "white", "red", "blue", "green"], }, { label: "Style", key: "border-style", control: Input }, ] diff --git a/packages/builder/src/components/userInterface/temporaryPanelStructure.js b/packages/builder/src/components/userInterface/temporaryPanelStructure.js index 9beca685db..ae6a658e7a 100644 --- a/packages/builder/src/components/userInterface/temporaryPanelStructure.js +++ b/packages/builder/src/components/userInterface/temporaryPanelStructure.js @@ -169,7 +169,7 @@ export default { icon: "ri-file-list-line", properties: { design: { ...all }, - settings: [] + settings: [], }, }, ], @@ -182,7 +182,7 @@ export default { children: [], properties: { design: { - ...all + ...all, }, settings: [ { label: "Text", key: "text", control: Input }, @@ -192,7 +192,7 @@ export default { valueKey: "checked", control: Checkbox, }, - ] + ], }, }, { diff --git a/packages/builder/src/pages/[application]/backend/_layout.svelte b/packages/builder/src/pages/[application]/backend/_layout.svelte index 4a4a715534..069e720b17 100644 --- a/packages/builder/src/pages/[application]/backend/_layout.svelte +++ b/packages/builder/src/pages/[application]/backend/_layout.svelte @@ -38,12 +38,12 @@ height: 100%; } -@media only screen and (min-width: 1800px) { - .nav { - overflow: auto; - flex: 0 1 auto; - width: 300px; - height: 100%; + @media only screen and (min-width: 1800px) { + .nav { + overflow: auto; + flex: 0 1 auto; + width: 300px; + height: 100%; + } } -}