summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/Global/ButtonBackToTop.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Global/ButtonBackToTop.vue b/src/components/Global/ButtonBackToTop.vue
index 9608c4a2..b2c5448c 100644
--- a/src/components/Global/ButtonBackToTop.vue
+++ b/src/components/Global/ButtonBackToTop.vue
@@ -49,7 +49,7 @@ export default {
position: fixed;
bottom: 24px;
right: 24px;
- z-index: $zindex-fixed;
+ z-index: -1;
box-shadow: $box-shadow;
opacity: 0;
transition: $transition-base;
@@ -60,5 +60,6 @@ export default {
}
.showBtn {
opacity: 1;
+ z-index: $zindex-fixed;
}
</style>