From e1eada45b8c0625d40d947fa3222b902ca87bef3 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 18 Feb 2020 19:24:18 +0000 Subject: [PATCH] tidy up --- packages/bootstrap-components/package.json | 2 +- packages/builder/src/common/PlusButton.svelte | 3 ++- .../ComponentSelectionList.svelte | 26 ++++++++++++------- .../materialdesign-components/src/presets.js | 11 -------- 4 files changed, 19 insertions(+), 23 deletions(-) delete mode 100644 packages/materialdesign-components/src/presets.js diff --git a/packages/bootstrap-components/package.json b/packages/bootstrap-components/package.json index dd26d3aa90..e13101c1b2 100644 --- a/packages/bootstrap-components/package.json +++ b/packages/bootstrap-components/package.json @@ -4,7 +4,7 @@ "main": "dist/index.js", "module": "dist/index.js", "scripts": { - "build": "rollup -c && rollup -c rollup.generatorsconfig.js", + "build": "rollup -c", "prepublishOnly": "npm run build", "testbuild": "rollup -w -c rollup.testconfig.js", "dev": "run-p start:dev testbuild", diff --git a/packages/builder/src/common/PlusButton.svelte b/packages/builder/src/common/PlusButton.svelte index d112bafa4c..99836cc7ca 100644 --- a/packages/builder/src/common/PlusButton.svelte +++ b/packages/builder/src/common/PlusButton.svelte @@ -12,7 +12,8 @@ border-radius: 5px; background: rgba(249, 249, 249, 1); - width: 1.8rem; + min-width: 1.8rem; + min-height: 1.8rem; padding-bottom: 10px; display: flex; diff --git a/packages/builder/src/userInterface/ComponentSelectionList.svelte b/packages/builder/src/userInterface/ComponentSelectionList.svelte index f6fb10a5f5..58f631fdbf 100644 --- a/packages/builder/src/userInterface/ComponentSelectionList.svelte +++ b/packages/builder/src/userInterface/ComponentSelectionList.svelte @@ -4,7 +4,7 @@ import { find, sortBy } from "lodash/fp" import { ImageIcon, InputIcon, LayoutIcon } from "../common/Icons/" import Select from "../common/Select.svelte" - import PlusButton from "../common/PlusButton.svelte" + import Button from "../common/PlusButton.svelte" let componentLibraries = [] let current_view = "text" @@ -83,7 +83,8 @@