Add size-* shorthand (#12287)

* Add `size-*` shorthand

Add plugin tests

Adjust options

wip

* Update changelog
This commit is contained in:
Jordan Pittman 2023-12-04 15:13:57 -05:00
parent 074f5deb89
commit 4a2aa1ccb1
3 changed files with 37 additions and 0 deletions

View file

@ -779,6 +779,8 @@ export let corePlugins = {
aspectRatio: createUtilityPlugin('aspectRatio', [['aspect', ['aspect-ratio']]]),
size: createUtilityPlugin('size', [['size', ['width', 'height']]]),
height: createUtilityPlugin('height', [['h', ['height']]]),
maxHeight: createUtilityPlugin('maxHeight', [['max-h', ['maxHeight']]]),
minHeight: createUtilityPlugin('minHeight', [['min-h', ['minHeight']]]),