Skip to content

Commit

Permalink
fix(pci-common): shapes input dynamic columns count
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammed Hamdoune <[email protected]>
  • Loading branch information
sidlynx committed Nov 15, 2024
1 parent 2048b4a commit 2cc2cd4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ export const ShapesInputComponent = function ShapesInputComponent<T>({
)}
>
<ul
className={`list-none grid grid-cols-${columnsCount} gap-6 m-0 p-4`}
className="list-none grid gap-6 m-0 p-4"
style={{
gridTemplateColumns: `repeat(${columnsCount}, minmax(0, 1fr))`,
}}
>
{[...stackHandler.itemsMap.keys()].map((stackKey) => (
<li key={stackKey}>
Expand Down

0 comments on commit 2cc2cd4

Please sign in to comment.