summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/notes.note.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-13 18:01:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-13 18:01:50 +0900
commit03e1d3fbc45252b05bf5abdb8ffee28297400acc (patch)
tree179cb4e67fc8c4434748346c7d36dd243e46501a /src/client/app/desktop/views/components/notes.note.vue
parentCWが適用されない箇所を修正 (diff)
downloadmisskey-03e1d3fbc45252b05bf5abdb8ffee28297400acc.tar.gz
misskey-03e1d3fbc45252b05bf5abdb8ffee28297400acc.tar.bz2
misskey-03e1d3fbc45252b05bf5abdb8ffee28297400acc.zip
Refactor
Diffstat (limited to 'src/client/app/desktop/views/components/notes.note.vue')
-rw-r--r--src/client/app/desktop/views/components/notes.note.vue15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue
index e1bc8be5a5..46a866f9a7 100644
--- a/src/client/app/desktop/views/components/notes.note.vue
+++ b/src/client/app/desktop/views/components/notes.note.vue
@@ -18,7 +18,7 @@
<div class="body">
<p v-if="p.cw != null" class="cw">
<span class="text" v-if="p.cw != ''">{{ p.cw }}</span>
- <span class="toggle" @click="showContent = !showContent">{{ showContent ? '%i18n:@hide%' : '%i18n:@see-more%' }}</span>
+ <mk-cw-button v-model="showContent"/>
</p>
<div class="content" v-show="p.cw == null || showContent">
<div class="text">
@@ -401,19 +401,6 @@ root(isDark)
> .text
margin-right 8px
- > .toggle
- display inline-block
- padding 4px 8px
- font-size 0.7em
- color isDark ? #393f4f : #fff
- background isDark ? #687390 : #b1b9c1
- border-radius 2px
- cursor pointer
- user-select none
-
- &:hover
- background isDark ? #707b97 : #bbc4ce
-
> .content
> .text