feat: upvote & downvote

This commit is contained in:
2022-10-16 02:10:37 +08:00
parent 5d8ae4368e
commit a3841ff54a
3 changed files with 123 additions and 7 deletions

View File

@@ -393,3 +393,38 @@
.op-btn {
margin: 0 0.25em;
}
.box-content-wrapper {
display: flex;
}
.box-content-wrapper .box-content {
flex: 1 1;
}
.box-content-wrapper .box-content-vote {
flex: 0 0;
}
.vote-num {
text-align: center;
}
.vote-icon-inactive {
fill: None;
stroke: #333;
stroke-width: 2px;
}
.root-dark-mode .vote-icon-inactive {
stroke: #777;
}
.vote-icon-active {
fill: #333;
}
.root-dark-mode .vote-icon-active {
fill: #777;
}