Skip to content

Commit

Permalink
use inline/block shorthands for margin and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Williams authored and Oliver Williams committed Dec 11, 2021
1 parent 5d15dee commit d6ccf90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ export let corePlugins = {
[
['m', ['margin']],
[
['mx', ['margin-left', 'margin-right']],
['my', ['margin-top', 'margin-bottom']],
['mx', ['margin-inline']],
['my', ['margin-block']],
],
[
['mt', ['margin-top']],
Expand Down Expand Up @@ -1491,8 +1491,8 @@ export let corePlugins = {
padding: createUtilityPlugin('padding', [
['p', ['padding']],
[
['px', ['padding-left', 'padding-right']],
['py', ['padding-top', 'padding-bottom']],
['px', ['padding-inline']],
['py', ['padding-block']],
],
[
['pt', ['padding-top']],
Expand Down

0 comments on commit d6ccf90

Please sign in to comment.