Skip to content

Commit

Permalink
Add content-normal and content-stretch utilities (#10645)
Browse files Browse the repository at this point in the history
* Add content-stretch utility

* Add `content-normal` utility

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
  • Loading branch information
dcastil and reinink committed Mar 1, 2023
1 parent 52ca21b commit e366985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -1196,13 +1196,15 @@ export let corePlugins = {

alignContent: ({ addUtilities }) => {
addUtilities({
'.content-normal': { 'align-content': 'normal' },
'.content-center': { 'align-content': 'center' },
'.content-start': { 'align-content': 'flex-start' },
'.content-end': { 'align-content': 'flex-end' },
'.content-between': { 'align-content': 'space-between' },
'.content-around': { 'align-content': 'space-around' },
'.content-evenly': { 'align-content': 'space-evenly' },
'.content-baseline': { 'align-content': 'baseline' },
'.content-stretch': { 'align-content': 'stretch' },
})
},

Expand Down

0 comments on commit e366985

Please sign in to comment.