Update _mixins.scss

This commit is contained in:
Pedro Reis 2017-03-30 15:20:35 +01:00 committed by GitHub
parent 967014e0ba
commit e439f3fb2d
1 changed files with 2 additions and 2 deletions

View File

@ -74,10 +74,10 @@
} }
@else if ($horizontal) { @else if ($horizontal) {
left: 50%; left: 50%;
transform: translate(-50%, 0); transform: translateX(-50%);
} }
@else if ($vertical) { @else if ($vertical) {
top: 50%; top: 50%;
transform: translate(0, -50%); transform: translateY(-50%);
} }
} }