Remove spacer and use Layout

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-28 15:40:15 +02:00
parent 012d699987
commit e0b2bec432
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<script> <script>
import { Icon, Body, Button, Input, Heading, Spacer } from "@budibase/bbui" import { Icon, Body, Button, Input, Heading, Layout } from "@budibase/bbui"
import { import {
readableToRuntimeBinding, readableToRuntimeBinding,
runtimeToReadableBinding, runtimeToReadableBinding,
@ -29,7 +29,7 @@
} }
</script> </script>
<section> <Layout paddingX="none" gap="S">
<div class="controls"> <div class="controls">
<Heading s>Parameters</Heading> <Heading s>Parameters</Heading>
{#if !bindable} {#if !bindable}
@ -45,7 +45,6 @@
values left blank. values left blank.
{/if} {/if}
</Body> </Body>
<Spacer large />
<div class="parameters" class:bindable> <div class="parameters" class:bindable>
{#each parameters as parameter, idx} {#each parameters as parameter, idx}
<Input <Input
@ -81,7 +80,7 @@
{/if} {/if}
{/each} {/each}
</div> </div>
</section> </Layout>
<style> <style>
.parameters.bindable { .parameters.bindable {