Skip to content

Commit

Permalink
update pushword/js-helper version
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Dec 12, 2023
1 parent e8db53b commit c45daf3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js-helper/package.json
@@ -1,6 +1,6 @@
{
"name": "@pushword/js-helper",
"version": "0.0.95",
"version": "0.0.96",
"description": "Pushword front end helpers. ",
"author": "Robin@PiedWeb <contact@piedweb.com>",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions packages/js-helper/src/tailwind.config.js
Expand Up @@ -33,5 +33,6 @@ module.exports = {
plugin(pushwordHelper.twFirstLetterPlugin),
plugin(pushwordHelper.twFirstChildPlugin),
plugin(pushwordHelper.twBleedPlugin),
plugin(pushwordHelper.justifySafeCenterPlugin),
],
};
7 changes: 7 additions & 0 deletions packages/js-helper/src/tailwind.helpers.js
Expand Up @@ -55,4 +55,11 @@ module.exports = {
},
});
},
justifySafeCenterPlugin: function({addUtilities}) {
addUtilities({
'.justify-safe-center': {
'justify-content': 'safe center',
},
})
}
};

0 comments on commit c45daf3

Please sign in to comment.