diff --git a/packages/client/src/components/BlockComponent.svelte b/packages/client/src/components/BlockComponent.svelte index 7076aad514..06865b7032 100644 --- a/packages/client/src/components/BlockComponent.svelte +++ b/packages/client/src/components/BlockComponent.svelte @@ -7,6 +7,7 @@ export let type export let props export let styles + export let css export let context export let order = 0 @@ -29,6 +30,7 @@ normal: { ...styles, }, + custom: css, }, ...props, } diff --git a/packages/client/src/components/app/blocks/CardsBlock.svelte b/packages/client/src/components/app/blocks/CardsBlock.svelte index a13364833a..789aa76c1b 100644 --- a/packages/client/src/components/app/blocks/CardsBlock.svelte +++ b/packages/client/src/components/app/blocks/CardsBlock.svelte @@ -84,35 +84,61 @@ {#if schemaLoaded} -
+
{#if title || enrichedSearchColumns?.length || showTitleButton} -
-
- {title || ""} -
-
+ + + {#if enrichedSearchColumns?.length} - + {#each enrichedSearchColumns as column, idx} + + {/each} {/if} {#if showTitleButton} {/if} -
-
+
+ {/if} @@ -180,67 +207,3 @@
{/if} - -