mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 20:26:40 +00:00
♻️ correctly apply the CSS variable
This commit is contained in:
@@ -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)"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user