Add justify-normal and justify-stretch classes (#10560)

* Added justify-normal class

* Update corePlugins.js

* Add `justify-normal` utility

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
This commit is contained in:
Davy 2023-02-15 17:44:23 +01:00 • committed by GitHub
parent 59b7e70859
commit c0670ccb35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1218,12 +1218,14 @@ export let corePlugins = {
justifyContent: ({ addUtilities }) => {
addUtilities({
'.justify-normal': { 'justify-content': 'normal' },
'.justify-start': { 'justify-content': 'flex-start' },
'.justify-end': { 'justify-content': 'flex-end' },
'.justify-center': { 'justify-content': 'center' },
'.justify-between': { 'justify-content': 'space-between' },
'.justify-around': { 'justify-content': 'space-around' },
'.justify-evenly': { 'justify-content': 'space-evenly' },
'.justify-stretch': { 'justify-content': 'stretch' },
})
},