Skip to content

Commit 4d40272

Browse files
committed
🐛 Fix grid gap css mappings
Should be the jss style version not the css
1 parent 52beddc commit 4d40272

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/internal/gridcontainer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ export const columnGap = style({
2323
prop: 'columnGap',
2424
themeKey: 'spacing',
2525
// although grid-column-gap is deprecated in favor of column-gap seems to error in react
26-
cssProperty: 'grid-column-gap'
26+
cssProperty: 'gridColumnGap'
2727
})
2828

2929
export const rowGap = style({
3030
prop: 'rowGap',
3131
themeKey: 'spacing',
3232
// although grid-row-gap is deprecated in favor of row-gap seems to error in react
33-
cssProperty: 'grid-row-gap'
33+
cssProperty: 'gridRowGap'
3434
})
3535

3636
export const gap = style({
3737
prop: 'gap',
3838
themeKey: 'spacing',
3939
// although grid-gap is deprecated in favor of gap seems to error in react
40-
cssProperty: 'grid-gap'
40+
cssProperty: 'gridGap'
4141
})
4242

4343
export const justifyItems = style({

0 commit comments

Comments
 (0)