Skip to content

Commit e439f3f

Browse files
author
Pedro Reis
authored
Update _mixins.scss
1 parent 967014e commit e439f3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/sass/config/_mixins.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
}
7575
@else if ($horizontal) {
7676
left: 50%;
77-
transform: translate(-50%, 0);
77+
transform: translateX(-50%);
7878
}
7979
@else if ($vertical) {
8080
top: 50%;
81-
transform: translate(0, -50%);
81+
transform: translateY(-50%);
8282
}
8383
}

0 commit comments

Comments
 (0)