[Client] Improve cw-button

This commit is contained in:
syuilo
2018-12-08 10:36:26 +09:00
parent b2dedf7f98
commit 596f92cfcc
10 changed files with 34 additions and 9 deletions

View File

@@ -17,7 +17,7 @@
<div class="body" v-if="appearNote.deletedAt == null">
<p v-if="appearNote.cw != null" class="cw">
<misskey-flavored-markdown v-if="appearNote.cw != ''" class="text" :text="appearNote.cw" :author="appearNote.user" :i="$store.state.i" :custom-emojis="appearNote.emojis" />
<mk-cw-button v-model="showContent"/>
<mk-cw-button v-model="showContent" :note="appearNote"/>
</p>
<div class="content" v-show="appearNote.cw == null || showContent">
<div class="text">