Skip to content

Commit

Permalink
fix: 文章点赞按钮样式不对齐
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Feb 11, 2023
1 parent 34c6afc commit 58bf989
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2023-02-10T13:24:41.880Z"
"x-generation-date": "2023-02-11T07:39:26.502Z"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down
6 changes: 3 additions & 3 deletions frontend/components/ArticlesList/Item/Bar/Bottom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const format = (num: number) => {
<div class="i-carbon-view" />
<span class="heat">{{ viewed ? format(viewed) : '观看' }}</span>
</div>
<div class="mx-7 item">
<div class="item">
<div class="i-carbon-thumbs-up" />
<span class="heat">{{ liked ? format(liked) : '点赞' }}</span>
</div>
Expand All @@ -28,13 +28,13 @@ const format = (num: number) => {

<style scoped>
.bottombar {
@apply flex all-flex all-items-center
@apply flex all-flex
}
.heat {
@apply pl-2
}
.item {
@apply text-jj_sec_app text-[13px] transition
@apply text-jj_sec_app text-[13px] transition pr-6
@apply hover:text-primary
}
</style>

0 comments on commit 58bf989

Please sign in to comment.