Update _mixins.scss
This commit is contained in:
parent
967014e0ba
commit
e439f3fb2d
|
@ -74,10 +74,10 @@
|
|||
}
|
||||
@else if ($horizontal) {
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
@else if ($vertical) {
|
||||
top: 50%;
|
||||
transform: translate(0, -50%);
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue