* added suppot for justify-self * Update fixtures * Add remaining grid alignment utilities * Update changelog Co-authored-by: Felix Alcala <felix.alcala@gmail.com>
28 lines
596 B
JavaScript
28 lines
596 B
JavaScript
export default function() {
|
|
return function({ addUtilities, variants, target }) {
|
|
if (target('placeSelf') === 'ie11') {
|
|
return
|
|
}
|
|
|
|
addUtilities(
|
|
{
|
|
'.place-self-auto': {
|
|
'place-self': 'auto',
|
|
},
|
|
'.place-self-start': {
|
|
'place-self': 'start',
|
|
},
|
|
'.place-self-end': {
|
|
'place-self': 'end',
|
|
},
|
|
'.place-self-center': {
|
|
'place-self': 'center',
|
|
},
|
|
'.place-self-stretch': {
|
|
'place-self': 'stretch',
|
|
},
|
|
},
|
|
variants('placeSelf')
|
|
)
|
|
}
|
|
}
|