mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
* added suppot for justify-self * Update fixtures * Add remaining grid alignment utilities * Update changelog Co-authored-by: Felix Alcala <felix.alcala@gmail.com>
29 lines
620 B
JavaScript
29 lines
620 B
JavaScript
export default function() {
|
|
return function({ addUtilities, variants, target }) {
|
|
if (target('justifySelf') === 'ie11') {
|
|
return
|
|
}
|
|
|
|
addUtilities(
|
|
{
|
|
'.justify-self-auto': {
|
|
'justify-self': 'auto',
|
|
},
|
|
'.justify-self-start': {
|
|
'justify-self': 'start',
|
|
},
|
|
'.justify-self-end': {
|
|
'justify-self': 'end',
|
|
},
|
|
'.justify-self-center': {
|
|
'justify-self': 'center',
|
|
},
|
|
'.justify-self-stretch': {
|
|
'justify-self': 'stretch',
|
|
},
|
|
},
|
|
variants('justifySelf')
|
|
)
|
|
}
|
|
}
|