Skip to content

Commit 5a18601

Browse files
David Hemphilladamwathan
authored andcommitted
add align-content helpers
1 parent b100236 commit 5a18601

3 files changed

Lines changed: 139 additions & 1 deletion

File tree

dist/tailwind.css

Lines changed: 120 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/tailwind.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/generators/flex.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,24 @@ export default function() {
5959
'justify-around': {
6060
'justify-content': 'space-around',
6161
},
62+
'align-center': {
63+
'align-content': 'center',
64+
},
65+
'align-start': {
66+
'align-content': 'flex-start',
67+
},
68+
'align-end': {
69+
'align-content': 'flex-end',
70+
},
71+
'align-between': {
72+
'align-content': 'space-between',
73+
},
74+
'align-around': {
75+
'align-content': 'space-around',
76+
},
77+
'align-stretch': {
78+
'align-content': 'stretch',
79+
},
6280
'flex-1': {
6381
'flex': '1'
6482
},

0 commit comments

Comments
 (0)