Skip to content

Commit

Permalink
[ONL-8008] Fixed TW grid negative margins. (#1735)
Browse files Browse the repository at this point in the history
* [ONL-8008] fix: Fixed TW grid negative margins.

* 2.3.2
  • Loading branch information
mcibique authored Nov 2, 2023
1 parent 9c339d5 commit 61c3400
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ebury/chameleon-components",
"version": "2.3.1",
"version": "2.3.2",
"main": "src/main.js",
"sideEffects": false,
"author": "Ebury Team (http://labs.ebury.rocks/)",
Expand Down
10 changes: 5 additions & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1355,14 +1355,14 @@ function flexboxGridPlugin({ addUtilities, theme }) {
addUtilities({
'.grid-container': {
width: '100%',
paddingRight: theme(`padding.${gutter / 2}`),
paddingLeft: theme(`padding.${gutter / 2}`),
paddingRight: theme(`spacing.${gutter / 2}`),
paddingLeft: theme(`spacing.${gutter / 2}`),
},
'.grid': {
display: 'flex',
flexWrap: 'wrap',
marginRight: theme(`margin.${gutter / -2}`),
marginLeft: theme(`margin.${gutter / -2}`),
marginRight: `-${theme(`spacing.${gutter / 2}`)}`,
marginLeft: `-${theme(`spacing.${gutter / 2}`)}`,
},
}, config);

Expand All @@ -1375,7 +1375,7 @@ function flexboxGridPlugin({ addUtilities, theme }) {
addUtilities({
[colClass]: {
width: '100%',
padding: theme(`padding.${gutter / 2}`),
padding: theme(`spacing.${gutter / 2}`),
minHeight: theme('minHeight.1'),
},
}, config);
Expand Down

1 comment on commit 61c3400

@vercel
Copy link

@vercel vercel bot commented on 61c3400 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

chameleon – ./

chameleon-git-master-ebury.vercel.app
chameleon-dead-plane.vercel.app
chameleon-ebury.vercel.app

Please sign in to comment.