summaryrefslogtreecommitdiff
path: root/src/web/app/mobile/views/components/posts.post.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-26 00:39:05 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-26 00:39:05 +0900
commit3ae824c3542b0e232b9847ae702956e631acb276 (patch)
treefe6183d41238471019539c4e4c14ccde995d8222 /src/web/app/mobile/views/components/posts.post.vue
parentv3886 (diff)
downloadmisskey-3ae824c3542b0e232b9847ae702956e631acb276.tar.gz
misskey-3ae824c3542b0e232b9847ae702956e631acb276.tar.bz2
misskey-3ae824c3542b0e232b9847ae702956e631acb276.zip
:v:
Diffstat (limited to 'src/web/app/mobile/views/components/posts.post.vue')
-rw-r--r--src/web/app/mobile/views/components/posts.post.vue30
1 files changed, 26 insertions, 4 deletions
diff --git a/src/web/app/mobile/views/components/posts.post.vue b/src/web/app/mobile/views/components/posts.post.vue
index ae1dfc59ab..e26c337f5c 100644
--- a/src/web/app/mobile/views/components/posts.post.vue
+++ b/src/web/app/mobile/views/components/posts.post.vue
@@ -35,6 +35,9 @@
%fa:reply%
</a>
<mk-post-html v-if="p.ast" :ast="p.ast" :i="os.i" :class="$style.text"/>
+ <div class="tags" v-if="p.tags && p.tags.length > 0">
+ <router-link v-for="tag in p.tags" :key="tag" :to="`/search?q=${tag}`">{{ tag }}</router-link>
+ </div>
<mk-url-preview v-for="url in urls" :url="url" :key="url"/>
<a class="quote" v-if="p.repost != null">RP:</a>
</div>
@@ -346,10 +349,7 @@ export default Vue.extend({
font-size 1.1em
color #717171
- > .dummy
- display none
-
- mk-url-preview
+ .mk-url-preview
margin-top 8px
> .channel
@@ -364,6 +364,28 @@ export default Vue.extend({
font-style oblique
color #a0bf46
+ > .tags
+ > *
+ margin 0 8px 0 0
+ padding 0 8px 0 16px
+ font-size 90%
+ color #8d969e
+ background #edf0f3
+ border-radius 4px
+
+ &:before
+ content ""
+ display block
+ position absolute
+ top 0
+ bottom 0
+ left 4px
+ width 8px
+ height 8px
+ margin auto 0
+ background #fff
+ border-radius 100%
+
[data-is-me]:after
content "you"
padding 0 4px