diff --git a/packages/builder/package.json b/packages/builder/package.json index 81e240d148..8e426deb45 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -51,7 +51,7 @@ "safe-buffer": "^5.1.2", "shortid": "^2.2.8", "string_decoder": "^1.2.0", - "svelte-simple-modal": "^0.3.0", + "svelte-simple-modal": "^0.4.2", "uikit": "^3.1.7" }, "devDependencies": { diff --git a/packages/builder/src/components/common/Switcher.svelte b/packages/builder/src/components/common/Switcher.svelte index 0253a7f9d3..23ced65692 100644 --- a/packages/builder/src/components/common/Switcher.svelte +++ b/packages/builder/src/components/common/Switcher.svelte @@ -44,11 +44,13 @@ flex-direction: column; padding: 20px 20px; border-left: solid 1px var(--grey); + box-sizing: border-box; } .switcher { display: flex; margin: 0px 20px 20px 0px; + box-sizing: border-box; } .switcher > button { @@ -67,4 +69,9 @@ .switcher > .selected { color: var(--ink); } + + .panel { + min-height: 0; + overflow-y: auto; + } diff --git a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte index afce0576e1..3e816ba88a 100644 --- a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte +++ b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte @@ -105,7 +105,9 @@ display: flex; flex-direction: column; overflow-x: hidden; + overflow-y: hidden; padding: 20px; + box-sizing: border-box; } .title > div:nth-child(1) { @@ -120,5 +122,7 @@ .component-props-container { margin-top: 20px; flex: 1 1 auto; + min-height: 0; + overflow-y: auto; } diff --git a/packages/builder/src/global.css b/packages/builder/src/global.css index dea20e4d26..10c1f376d6 100644 --- a/packages/builder/src/global.css +++ b/packages/builder/src/global.css @@ -88,6 +88,8 @@ html, body { #app { height: 100%; + box-sizing: border-box; + overflow-y: hidden; } h1 { diff --git a/packages/builder/src/pages/[application]/_reset.svelte b/packages/builder/src/pages/[application]/_reset.svelte index 5e3e973ae7..b688662b0a 100644 --- a/packages/builder/src/pages/[application]/_reset.svelte +++ b/packages/builder/src/pages/[application]/_reset.svelte @@ -81,7 +81,7 @@