diff --git a/src/components/Border.svelte b/src/components/Border.svelte index af34eb009..e21e2261f 100644 --- a/src/components/Border.svelte +++ b/src/components/Border.svelte @@ -10,6 +10,7 @@ export let styleCursor: "default" | "pointer" | "text" = "default"; export let styleGap: string = "0.5rem"; export let styleOverflow: string | undefined = undefined; + export let flatTop: boolean = false; $: style = `--local-button-color-1: var(--color-fill-${variant});` + @@ -17,100 +18,6 @@ @@ -152,45 +172,46 @@ style:width={styleWidth} style:cursor={styleCursor} class="container" + class:flat-top={flatTop} {onclick} role="button" tabindex={onclick !== undefined ? 0 : -1} {style} style:min-height={styleMinHeight} style:height={styleHeight}> -
- - - - + + + + + - - - - - + + + + + - - + +