Skip to content

Commit

Permalink
make mx-auto responsive a la #577
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbot committed Oct 16, 2018
1 parent 2ebc81a commit 96d1e4f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/primer-utilities/lib/margin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
margin-bottom: $size !important;
}
}
}
}

/* Set an auto margin on left & right */
.mx-auto {
margin-right: auto !important;
margin-left: auto !important;
/* responsive horizontal auto margins */
.mx#{$variant}-auto {
margin-right: auto !important;
margin-left: auto !important;
}
}
}

0 comments on commit 96d1e4f

Please sign in to comment.