Search: similar filters in different layers are now merged, fix #

This commit is contained in:
Pieter Vander Vennet 2024-09-17 02:16:25 +02:00
parent 6ebc0632a3
commit 48186aa530
15 changed files with 156 additions and 63 deletions

View file

@ -2,11 +2,16 @@
import { Accordion, AccordionItem } from "flowbite-svelte"
export let expanded = false
export let noBorder = false
let defaultClass: string = undefined
if(noBorder){
defaultClass = "unstyled w-full flex-grow"
}
</script>
<Accordion>
<AccordionItem open={expanded} paddingDefault="p-0" inactiveClass="text-black">
<span slot="header" class="w-full p-2 text-base">
<AccordionItem open={expanded} paddingDefault="p-0" inactiveClass="text-black" {defaultClass}>
<span slot="header" class={!noBorder ? "w-full p-2 text-base" : "w-full"}>
<slot name="header" />
</span>
<div class="low-interaction rounded-b p-2">