File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/design-system/src/primitives/Grid Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,15 @@ type ItemComponent<C extends React.ElementType = 'div'> = <T extends React.Eleme
5757) => JSX . Element ;
5858
5959const Item = styled ( Flex ) `
60- grid-column: span ${ ( { $xs } ) => $xs ?? 12 } ;
60+ grid-column: span ${ ( { $xs, $col } ) => $xs ?? $col ?? 12 } ;
6161 max-width: 100%;
6262
6363 ${ ( { theme } ) => theme . breakpoints . small } {
64- grid-column: span ${ ( { $s, $xs } ) => $s ?? $xs ?? 12 } ;
64+ grid-column: span ${ ( { $s, $xs, $col } ) => $s ?? $xs ?? $col ?? 12 } ;
6565 }
6666
6767 ${ ( { theme } ) => theme . breakpoints . medium } {
68- grid-column: span ${ ( { $m, $s, $xs } ) => $m ?? $s ?? $xs ?? 12 } ;
68+ grid-column: span ${ ( { $m, $s, $xs, $col } ) => $m ?? $s ?? $xs ?? $col ?? 12 } ;
6969 }
7070
7171 ${ ( { theme } ) => theme . breakpoints . large } {
You can’t perform that action at this time.
0 commit comments