Formatting and Linting

This commit is contained in:
Joe 2020-08-13 09:05:22 +01:00
parent b0e31a09b4
commit 25b71c4e86
2 changed files with 20 additions and 15 deletions

View File

@ -16,15 +16,12 @@
const joinPath = join("/")
const normalizedName = name =>
pipe(
name,
[
trimCharsStart("./"),
trimCharsStart("~/"),
trimCharsStart("../"),
trimChars(" "),
]
)
pipe(name, [
trimCharsStart("./"),
trimCharsStart("~/"),
trimCharsStart("../"),
trimChars(" "),
])
const changeScreen = screen => {
store.setCurrentScreen(screen.props._instanceName)

View File

@ -380,7 +380,7 @@ export default {
label: "Card Width",
key: "cardWidth",
control: OptionSelect,
options: [ "16rem", "20rem", "24rem"],
options: ["16rem", "20rem", "24rem"],
placeholder: "Card Width",
},
],
@ -448,29 +448,37 @@ export default {
label: "Card Width",
key: "cardWidth",
control: OptionSelect,
options: [ "24rem", "28rem", "32rem", "40rem", "48rem", "60rem", "100%"],
options: [
"24rem",
"28rem",
"32rem",
"40rem",
"48rem",
"60rem",
"100%",
],
placeholder: "Card Height",
},
{
label: "Image Width",
key: "imageWidth",
control: OptionSelect,
options: [ "8rem", "12rem", "16rem"],
options: ["8rem", "12rem", "16rem"],
placeholder: "Image Width",
},
{
label: "Image Height",
key: "imageHeight",
control: OptionSelect,
options: [ "8rem", "12rem", "16rem", "auto"],
options: ["8rem", "12rem", "16rem", "auto"],
placeholder: "Image Height",
},
],
},
},
]
],
},
{
_component: "@budibase/materialdesign-components/BasicCard",
name: "Card",