feat(button): add 'comment' fixed button (#169)

This commit is contained in:
Dillon
2020-03-16 15:01:51 +08:00
committed by GitHub
parent 371150ceef
commit 6e091b6fad
9 changed files with 51 additions and 32 deletions

View File

@@ -1,13 +1,12 @@
#dynamic-to-top {
.fixed-button {
display: none;
overflow: hidden;
width: auto;
z-index: 100;
position: fixed;
bottom: 2rem;
right: 2rem;
top: auto;
left: auto;
right: 1.5rem;
font-size: 1rem;
line-height: 1.3rem;
padding: .6rem .6rem;
@@ -35,3 +34,11 @@
}
}
}
#top-button {
bottom: 1.5rem;
}
#comment-button {
bottom: 4.5rem;
}