Skip to content

Commit 5d1f465

Browse files
authored
Fix styling of the comment author text (#3012)
1 parent 8a30e32 commit 5d1f465

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/renderer/components/watch-video-comments/watch-video-comments.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
height: 60px;
3535
border-radius: 200px 200px 200px 200px;
3636
-webkit-border-radius: 200px 200px 200px 200px;
37-
cursor: pointer;
3837
}
3938

4039
.commentAuthorWrapper {
@@ -53,7 +52,8 @@
5352
}
5453

5554
.commentAuthor {
56-
cursor: pointer;
55+
color: inherit;
56+
text-decoration: none;
5757
}
5858

5959
.commentText {

src/renderer/components/watch-video-comments/watch-video-comments.vue

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,15 @@
7777
<p
7878
class="commentAuthorWrapper"
7979
>
80-
<span
80+
<router-link
8181
class="commentAuthor"
8282
:class="{
8383
commentOwner: comment.isOwner
8484
}"
85+
:to="`/channel/${comment.authorLink}`"
8586
>
86-
<router-link
87-
:to="`/channel/${comment.authorLink}`"
88-
>
89-
{{ comment.author }}
90-
</router-link>
91-
</span>
87+
{{ comment.author }}
88+
</router-link>
9289
<img
9390
v-if="comment.isMember"
9491
:src="comment.memberIconUrl"

0 commit comments

Comments
 (0)