Skip to content

Commit 52c17f5

Browse files
authored
Merge pull request tailwindlabs#1083 from manniL/feat/justify-content-space-evenly
feat: add justify-evenly util
2 parents 4691f70 + c81422b commit 52c17f5

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

__tests__/fixtures/tailwind-output-important.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3456,6 +3456,10 @@ video {
34563456
justify-content: space-around !important;
34573457
}
34583458

3459+
.justify-evenly {
3460+
justify-content: space-evenly !important;
3461+
}
3462+
34593463
.content-center {
34603464
align-content: center !important;
34613465
}
@@ -11191,6 +11195,10 @@ video {
1119111195
justify-content: space-around !important;
1119211196
}
1119311197

11198+
.sm\:justify-evenly {
11199+
justify-content: space-evenly !important;
11200+
}
11201+
1119411202
.sm\:content-center {
1119511203
align-content: center !important;
1119611204
}
@@ -18927,6 +18935,10 @@ video {
1892718935
justify-content: space-around !important;
1892818936
}
1892918937

18938+
.md\:justify-evenly {
18939+
justify-content: space-evenly !important;
18940+
}
18941+
1893018942
.md\:content-center {
1893118943
align-content: center !important;
1893218944
}
@@ -26663,6 +26675,10 @@ video {
2666326675
justify-content: space-around !important;
2666426676
}
2666526677

26678+
.lg\:justify-evenly {
26679+
justify-content: space-evenly !important;
26680+
}
26681+
2666626682
.lg\:content-center {
2666726683
align-content: center !important;
2666826684
}
@@ -34399,6 +34415,10 @@ video {
3439934415
justify-content: space-around !important;
3440034416
}
3440134417

34418+
.xl\:justify-evenly {
34419+
justify-content: space-evenly !important;
34420+
}
34421+
3440234422
.xl\:content-center {
3440334423
align-content: center !important;
3440434424
}

__tests__/fixtures/tailwind-output.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3456,6 +3456,10 @@ video {
34563456
justify-content: space-around;
34573457
}
34583458

3459+
.justify-evenly {
3460+
justify-content: space-evenly;
3461+
}
3462+
34593463
.content-center {
34603464
align-content: center;
34613465
}
@@ -11191,6 +11195,10 @@ video {
1119111195
justify-content: space-around;
1119211196
}
1119311197

11198+
.sm\:justify-evenly {
11199+
justify-content: space-evenly;
11200+
}
11201+
1119411202
.sm\:content-center {
1119511203
align-content: center;
1119611204
}
@@ -18927,6 +18935,10 @@ video {
1892718935
justify-content: space-around;
1892818936
}
1892918937

18938+
.md\:justify-evenly {
18939+
justify-content: space-evenly;
18940+
}
18941+
1893018942
.md\:content-center {
1893118943
align-content: center;
1893218944
}
@@ -26663,6 +26675,10 @@ video {
2666326675
justify-content: space-around;
2666426676
}
2666526677

26678+
.lg\:justify-evenly {
26679+
justify-content: space-evenly;
26680+
}
26681+
2666626682
.lg\:content-center {
2666726683
align-content: center;
2666826684
}
@@ -34399,6 +34415,10 @@ video {
3439934415
justify-content: space-around;
3440034416
}
3440134417

34418+
.xl\:justify-evenly {
34419+
justify-content: space-evenly;
34420+
}
34421+
3440234422
.xl\:content-center {
3440334423
align-content: center;
3440434424
}

src/plugins/justifyContent.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default function() {
1717
'.justify-around': {
1818
'justify-content': 'space-around',
1919
},
20+
'.justify-evenly': {
21+
'justify-content': 'space-evenly',
22+
},
2023
},
2124
variants('justifyContent')
2225
)

0 commit comments

Comments
 (0)