* 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
632 B
JavaScript
28 lines
632 B
JavaScript
export default function() {
|
|
return function({ addUtilities, variants, target }) {
|
|
if (target('justifyItems') === 'ie11') {
|
|
return
|
|
}
|
|
|
|
addUtilities(
|
|
{
|
|
'.justify-items-auto': {
|
|
'justify-items': 'auto',
|
|
},
|
|
'.justify-items-start': {
|
|
'justify-items': 'start',
|
|
},
|
|
'.justify-items-end': {
|
|
'justify-items': 'end',
|
|
},
|
|
'.justify-items-center': {
|
|
'justify-items': 'center',
|
|
},
|
|
'.justify-items-stretch': {
|
|
'justify-items': 'stretch',
|
|
},
|
|
},
|
|
variants('justifyItems')
|
|
)
|
|
}
|
|
}
|