app/assets/stylesheets/alignment/_center.scss in patterns-0.1.5 vs app/assets/stylesheets/alignment/_center.scss in patterns-0.1.6
- old
+ new
@@ -1,17 +1,14 @@
-@mixin horizontally_center {
- margin: 0px auto;
-}
-@mixin horizontal_center_container {
+@mixin center_container_horizontal {
text-align: center;
& > * {
- margin: 0px auto;
+ display: inline-block;
text-align: left;
}
}
// http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
-@mixin vertical_center_container {
+@mixin center_container_vertical {
display: table;
position: static;
& > * {
display: table-cell;
\ No newline at end of file