♻️ correctly apply the CSS variable

This commit is contained in:
Fred KISSIE
2025-11-15 07:06:20 +01:00
parent 8e8f992876
commit 2f34def4d7

View File

@@ -749,7 +749,7 @@ export default function DomainPicker2({
}} }}
style={{ style={{
// @ts-expect-error CSS variable // @ts-expect-error CSS variable
"--cols": cols "--cols": `repeat(${cols}, minmax(0, 1fr))`
}} }}
className="grid gap-2 grid-cols-1 sm:grid-cols-(--cols)" className="grid gap-2 grid-cols-1 sm:grid-cols-(--cols)"
> >