Skip to content

Commit c550cd1

Browse files
committed
Add all margin-auto utilities
1 parent 5c585f8 commit c550cd1

10 files changed

+273
-17
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2982,10 +2982,18 @@ button,
29822982
margin: 1px;
29832983
}
29842984

2985+
.mt-auto {
2986+
margin-top: auto;
2987+
}
2988+
29852989
.mr-auto {
29862990
margin-right: auto;
29872991
}
29882992

2993+
.mb-auto {
2994+
margin-bottom: auto;
2995+
}
2996+
29892997
.ml-auto {
29902998
margin-left: auto;
29912999
}
@@ -2995,6 +3003,15 @@ button,
29953003
margin-right: auto;
29963004
}
29973005

3006+
.my-auto {
3007+
margin-top: auto;
3008+
margin-bottom: auto;
3009+
}
3010+
3011+
.m-auto {
3012+
margin: auto;
3013+
}
3014+
29983015
.-mt-0 {
29993016
margin-top: 0;
30003017
}
@@ -5925,10 +5942,18 @@ button,
59255942
margin: 1px;
59265943
}
59275944

5945+
.sm\:mt-auto {
5946+
margin-top: auto;
5947+
}
5948+
59285949
.sm\:mr-auto {
59295950
margin-right: auto;
59305951
}
59315952

5953+
.sm\:mb-auto {
5954+
margin-bottom: auto;
5955+
}
5956+
59325957
.sm\:ml-auto {
59335958
margin-left: auto;
59345959
}
@@ -5938,6 +5963,15 @@ button,
59385963
margin-right: auto;
59395964
}
59405965

5966+
.sm\:my-auto {
5967+
margin-top: auto;
5968+
margin-bottom: auto;
5969+
}
5970+
5971+
.sm\:m-auto {
5972+
margin: auto;
5973+
}
5974+
59415975
.sm\:-mt-0 {
59425976
margin-top: 0;
59435977
}
@@ -8869,10 +8903,18 @@ button,
88698903
margin: 1px;
88708904
}
88718905

8906+
.md\:mt-auto {
8907+
margin-top: auto;
8908+
}
8909+
88728910
.md\:mr-auto {
88738911
margin-right: auto;
88748912
}
88758913

8914+
.md\:mb-auto {
8915+
margin-bottom: auto;
8916+
}
8917+
88768918
.md\:ml-auto {
88778919
margin-left: auto;
88788920
}
@@ -8882,6 +8924,15 @@ button,
88828924
margin-right: auto;
88838925
}
88848926

8927+
.md\:my-auto {
8928+
margin-top: auto;
8929+
margin-bottom: auto;
8930+
}
8931+
8932+
.md\:m-auto {
8933+
margin: auto;
8934+
}
8935+
88858936
.md\:-mt-0 {
88868937
margin-top: 0;
88878938
}
@@ -11813,10 +11864,18 @@ button,
1181311864
margin: 1px;
1181411865
}
1181511866

11867+
.lg\:mt-auto {
11868+
margin-top: auto;
11869+
}
11870+
1181611871
.lg\:mr-auto {
1181711872
margin-right: auto;
1181811873
}
1181911874

11875+
.lg\:mb-auto {
11876+
margin-bottom: auto;
11877+
}
11878+
1182011879
.lg\:ml-auto {
1182111880
margin-left: auto;
1182211881
}
@@ -11826,6 +11885,15 @@ button,
1182611885
margin-right: auto;
1182711886
}
1182811887

11888+
.lg\:my-auto {
11889+
margin-top: auto;
11890+
margin-bottom: auto;
11891+
}
11892+
11893+
.lg\:m-auto {
11894+
margin: auto;
11895+
}
11896+
1182911897
.lg\:-mt-0 {
1183011898
margin-top: 0;
1183111899
}
@@ -14757,10 +14825,18 @@ button,
1475714825
margin: 1px;
1475814826
}
1475914827

14828+
.xl\:mt-auto {
14829+
margin-top: auto;
14830+
}
14831+
1476014832
.xl\:mr-auto {
1476114833
margin-right: auto;
1476214834
}
1476314835

14836+
.xl\:mb-auto {
14837+
margin-bottom: auto;
14838+
}
14839+
1476414840
.xl\:ml-auto {
1476514841
margin-left: auto;
1476614842
}
@@ -14770,6 +14846,15 @@ button,
1477014846
margin-right: auto;
1477114847
}
1477214848

14849+
.xl\:my-auto {
14850+
margin-top: auto;
14851+
margin-bottom: auto;
14852+
}
14853+
14854+
.xl\:m-auto {
14855+
margin: auto;
14856+
}
14857+
1477314858
.xl\:-mt-0 {
1477414859
margin-top: 0;
1477514860
}

dist/preflight.css

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

dist/preflight.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.

dist/tailwind.css

Lines changed: 85 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.

dist/tailwind.min.css

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

0 commit comments

Comments
 (0)