style: migrate shadow variable syntax in dropdown component
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
{{template "dropdown_trigger" .}}
|
||||
</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">
|
||||
{{template "dropdown_children" .}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user