Skip to content

Commit

Permalink
Adds vertical margin auto classes
Browse files Browse the repository at this point in the history
Fixes #489
  • Loading branch information
lowmess authored and johno committed Nov 10, 2018
1 parent 6d62240 commit cd64422
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/_spacing.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ http://tachyons.io/docs/layout/spacing/
padding-right: var(--spacing-7);
}

.mt-auto { margin-top: auto; }
.mr-auto { margin-right: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }

.m0 { margin: var(--spacing-0); }
Expand Down Expand Up @@ -397,7 +399,9 @@ http://tachyons.io/docs/layout/spacing/
padding-right: var(--spacing-7);
}

.mt-auto-s { margin-top: auto; }
.mr-auto-s { margin-right: auto; }
.mb-auto-s { margin-bottom: auto; }
.ml-auto-s { margin-left: auto; }

.m0-s { margin: var(--spacing-0); }
Expand Down Expand Up @@ -624,7 +628,9 @@ http://tachyons.io/docs/layout/spacing/
padding-right: var(--spacing-7);
}

.mt-auto-m { margin-top: auto; }
.mr-auto-m { margin-right: auto; }
.mb-auto-m { margin-bottom: auto; }
.ml-auto-m { margin-left: auto; }

.m0-m { margin: var(--spacing-0); }
Expand Down Expand Up @@ -851,7 +857,9 @@ http://tachyons.io/docs/layout/spacing/
padding-right: var(--spacing-7);
}

.mt-auto-l { margin-top: auto; }
.mr-auto-l { margin-right: auto; }
.mb-auto-l { margin-bottom: auto; }
.ml-auto-l { margin-left: auto; }

.m0-l { margin: var(--spacing-0); }
Expand Down

0 comments on commit cd64422

Please sign in to comment.