Commit 734f937b authored by les's avatar les
Browse files

[fix] backtop

parent 20dc56cb
<template lang="pug">
section
a(href='#totop')
el-button.top.d-block.d-sm-none(icon='el-icon-top' circle type='primary' plain)
a.totop(name='totop')
el-backtop(target='body')
//- el-backtop(target='#home')
client-only
Calendar
......@@ -60,19 +57,5 @@ section {
width: 100%;
max-width: 1500px;
margin: 0 auto;
.top {
position: fixed;
bottom: 10px;
right: 10px;
z-index: 1;
opacity: 0.7;
font-size: 16px;
}
.totop {
position: absolute;
top: 0px;
}
}
</style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment