summaryrefslogtreecommitdiff
path: root/src/web/app/desktop
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-24 07:54:37 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-24 07:55:11 +0900
commit2c007ff36fd7f05d470dd0f60bf1538858c04b12 (patch)
tree1010da37ac65ff81b03fb14cd288544d912bdea4 /src/web/app/desktop
parent:v: (diff)
downloadmisskey-2c007ff36fd7f05d470dd0f60bf1538858c04b12.tar.gz
misskey-2c007ff36fd7f05d470dd0f60bf1538858c04b12.tar.bz2
misskey-2c007ff36fd7f05d470dd0f60bf1538858c04b12.zip
Fix #1130
Diffstat (limited to 'src/web/app/desktop')
-rw-r--r--src/web/app/desktop/views/components/posts.post.vue49
1 files changed, 24 insertions, 25 deletions
diff --git a/src/web/app/desktop/views/components/posts.post.vue b/src/web/app/desktop/views/components/posts.post.vue
index 4ae980648c..4898de0b6b 100644
--- a/src/web/app/desktop/views/components/posts.post.vue
+++ b/src/web/app/desktop/views/components/posts.post.vue
@@ -37,7 +37,7 @@
<a :href="`${_CH_URL_}/${p.channel.id}`" target="_blank">{{ p.channel.title }}</a>:
</p>
<a class="reply" v-if="p.reply">%fa:reply%</a>
- <mk-post-html v-if="p.ast" :ast="p.ast" :i="os.i"/>
+ <mk-post-html v-if="p.ast" :ast="p.ast" :i="os.i" :class="$style.text"/>
<a class="quote" v-if="p.repost">RP:</a>
<mk-url-preview v-for="url in urls" :url="url" :key="url"/>
</div>
@@ -413,9 +413,6 @@ export default Vue.extend({
font-size 1.1em
color #717171
- > .dummy
- display none
-
.mk-url-preview
margin-top 8px
@@ -431,27 +428,6 @@ export default Vue.extend({
font-style oblique
color #a0bf46
- code
- padding 4px 8px
- margin 0 0.5em
- font-size 80%
- color #525252
- background #f8f8f8
- border-radius 2px
-
- pre > code
- padding 16px
- margin 0
-
- [data-is-me]:after
- content "you"
- padding 0 4px
- margin-left 4px
- font-size 80%
- color $theme-color-foreground
- background $theme-color
- border-radius 4px
-
> .mk-poll
font-size 80%
@@ -505,3 +481,26 @@ export default Vue.extend({
</style>
+<style lang="stylus" module>
+.text
+ code
+ padding 4px 8px
+ margin 0 0.5em
+ font-size 80%
+ color #525252
+ background #f8f8f8
+ border-radius 2px
+
+ pre > code
+ padding 16px
+ margin 0
+
+ [data-is-me]:after
+ content "you"
+ padding 0 4px
+ margin-left 4px
+ font-size 80%
+ color $theme-color-foreground
+ background $theme-color
+ border-radius 4px
+</style>