Skip to content

Commit

Permalink
Adding support for baseline in placeItems & alignContent utility (
Browse files Browse the repository at this point in the history
#9507)

* Update corePlugins.js

* Update corePlugins.js

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
  • Loading branch information
Dawood Khan Masood and thecrypticace committed Oct 10, 2022
1 parent c5ca373 commit 1824c45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Implement the `supports` variant ([#9453](https://github.com/tailwindlabs/tailwindcss/pull/9453))
- Add experimental `label`s for variants ([#9456](https://github.com/tailwindlabs/tailwindcss/pull/9456))
- Added 'place-content-baseline' utility ([#9498](https://github.com/tailwindlabs/tailwindcss/pull/9498))
- Added 'place-items-baseline' utility ([#9507](https://github.com/tailwindlabs/tailwindcss/pull/9507))
- Added 'content-baseline' utility ([#9507](https://github.com/tailwindlabs/tailwindcss/pull/9507))

### Fixed

Expand Down
2 changes: 2 additions & 0 deletions src/corePlugins.js
Expand Up @@ -990,6 +990,7 @@ export let corePlugins = {
'.place-items-start': { 'place-items': 'start' },
'.place-items-end': { 'place-items': 'end' },
'.place-items-center': { 'place-items': 'center' },
'.place-items-baseline': { 'place-items': 'baseline' },
'.place-items-stretch': { 'place-items': 'stretch' },
})
},
Expand All @@ -1002,6 +1003,7 @@ export let corePlugins = {
'.content-between': { 'align-content': 'space-between' },
'.content-around': { 'align-content': 'space-around' },
'.content-evenly': { 'align-content': 'space-evenly' },
'.content-baseline': { 'align-content': 'baseline' },
})
},

Expand Down

0 comments on commit 1824c45

Please sign in to comment.