summaryrefslogtreecommitdiff
path: root/src/components/Global
diff options
context:
space:
mode:
authorSurenNeware <sneware9@in.ibm.com>2020-12-28 16:43:00 +0300
committerDerick Montague <derick.montague@ibm.com>2021-01-05 01:45:49 +0300
commit8eafd37b44e3ae7f1f89b7f24560687a384a2957 (patch)
tree3665659e972ce29dfcd89d23130b2b907285198c /src/components/Global
parent91f8ad36de0dc21dc93786b40e65a53a6b888807 (diff)
downloadwebui-vue-8eafd37b44e3ae7f1f89b7f24560687a384a2957.tar.xz
Fixed Back to top button appearance issue
- Changed back to top button style when its getting disappear. - So that button should not come over the page contents. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0a013c2bcdd291edd9f52566130882360451a280
Diffstat (limited to 'src/components/Global')
-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>