Fixes for filter drawer padding

This commit is contained in:
Dean 2024-04-19 11:49:20 +01:00
parent 3b188866e7
commit bdf15b21b1
2 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
<script>
import { createEventDispatcher } from "svelte"
import { ActionButton, Drawer, Button } from "@budibase/bbui"
import { ActionButton, Drawer, DrawerContent, Button } from "@budibase/bbui"
import FilterBuilder from "components/design/settings/controls/FilterEditor/FilterBuilder.svelte"
import { getUserBindings } from "dataBinding"
import { makePropSafe } from "@budibase/string-templates"
@ -64,12 +64,13 @@
>
Save
</Button>
<FilterBuilder
slot="body"
{filters}
{schemaFields}
datasource={{ type: "table", tableId }}
on:change={e => (tempValue = e.detail)}
{bindings}
/>
<DrawerContent slot="body">
<FilterBuilder
{filters}
{schemaFields}
datasource={{ type: "table", tableId }}
on:change={e => (tempValue = e.detail)}
{bindings}
/>
</DrawerContent>
</Drawer>

View File

@ -321,7 +321,6 @@
.container {
width: 100%;
max-width: 1000px;
margin: 0 auto;
}
.fields {
display: grid;