diff options
-rw-r--r-- | src/components/_sila/Global/ButtonBackToTop.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/_sila/Global/ButtonBackToTop.vue b/src/components/_sila/Global/ButtonBackToTop.vue index 9160c7b7..26c3688b 100644 --- a/src/components/_sila/Global/ButtonBackToTop.vue +++ b/src/components/_sila/Global/ButtonBackToTop.vue @@ -47,8 +47,8 @@ export default { <style lang="scss" scoped> .btn-top { position: fixed; - bottom: 24px; - right: 24px; + bottom: $spacer; + right: $spacer * 2; box-shadow: $box-shadow; visibility: hidden; @@ -56,9 +56,9 @@ export default { transition: $transition-base; z-index: $zindex-fixed; - @media (min-width: 1600px) { - left: 1485px; - right: auto; + @include media-breakpoint-up($responsive-layout-bp) { + left: auto; + right: $spacer * 3; } } .show-btn { |