style: migrate shadow variable syntax in dropdown component

This commit is contained in:
2026-06-07 17:44:59 +02:00
committed by Milas Holsting
parent 4e375adcee
commit b81bc63042

View File

@@ -4,7 +4,7 @@
{{template "dropdown_trigger" .}} {{template "dropdown_trigger" .}}
</div> </div>
<div data-content class="hidden absolute z-50 {{if .Width}}{{.Width}}{{else}}min-w-[320px]{{end}} bg-background-button rounded-none shadow-[var(--shadow-card)] ring-1 ring-black/10 {{if eq .Align "left"}}left-0{{else}}right-0{{end}} {{if eq .Position "top"}}bottom-full mb-2{{else}}top-full mt-2{{end}}"> <div data-content class="hidden absolute z-50 {{if .Width}}{{.Width}}{{else}}min-w-[320px]{{end}} bg-background-button rounded-none shadow-(--shadow-card) ring-1 ring-black/10 {{if eq .Align "left"}}left-0{{else}}right-0{{end}} {{if eq .Position "top"}}bottom-full mb-2{{else}}top-full mt-2{{end}}">
<div class="flex flex-col py-1"> <div class="flex flex-col py-1">
{{template "dropdown_children" .}} {{template "dropdown_children" .}}
</div> </div>