summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/home-widgets/trends.tag3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/home-widgets/trends.tag b/src/web/app/desktop/tags/home-widgets/trends.tag
index a42d0b902e..d9ae355045 100644
--- a/src/web/app/desktop/tags/home-widgets/trends.tag
+++ b/src/web/app/desktop/tags/home-widgets/trends.tag
@@ -2,7 +2,7 @@
<p class="title"><i class="fa fa-fire"></i>トレンド</p>
<button onclick={ fetch } title="他を見る"><i class="fa fa-refresh"></i></button>
<div class="post" if={ !loading && post != null }>
- <p class="text">{ post.text }</p>
+ <p class="text"><a href="/{ post.user.username }/{ post.id }">{ post.text }</a></p>
<p class="author">―<a href="/{ post.user.username }">@{ post.user.username }</a></p>
</div>
<p class="empty" if={ !loading && post == null }>ありません!</p>
@@ -50,6 +50,7 @@
> p
margin 0
+ > .text,
> .author
> a
color inherit