Skip to content

Commit 84afad6

Browse files
committed
Fix like icon being on a different line from the text on smaller screen widths
1 parent 78c398a commit 84afad6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/renderer/components/ft-community-post/ft-community-post.scss

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
.likeCount {
8282
margin-inline-start: 5px;
8383
margin-inline-end: 6px;
84+
display: flex;
85+
gap: 3px;
8486
}
8587
}
8688

src/renderer/components/ft-community-post/ft-community-post.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@
116116
<div
117117
class="bottomSection"
118118
>
119-
<span class="likeCount"><font-awesome-icon
119+
<div class="likeCount"><font-awesome-icon
120120
class="thumbs-up-icon"
121121
:icon="['fas', 'thumbs-up']"
122-
/> {{ voteCount }}</span>
122+
/> {{ voteCount }}</div>
123123
<span class="commentCount">
124124
<font-awesome-icon
125125
class="comment-count-icon"

0 commit comments

Comments
 (0)