summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-23 05:27:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-23 05:27:00 +0900
commit54dc54f2ae9b70153bd6387b4cf584e99cc3e4b3 (patch)
treee0506f4332e84b5719b2fa507dae643d07a57d6d /src
parentv3814 (diff)
downloadmisskey-54dc54f2ae9b70153bd6387b4cf584e99cc3e4b3.tar.gz
misskey-54dc54f2ae9b70153bd6387b4cf584e99cc3e4b3.tar.bz2
misskey-54dc54f2ae9b70153bd6387b4cf584e99cc3e4b3.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/mobile/views/components/post-detail.vue32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/web/app/mobile/views/components/post-detail.vue b/src/web/app/mobile/views/components/post-detail.vue
index e7c08df7e9..05138607ff 100644
--- a/src/web/app/mobile/views/components/post-detail.vue
+++ b/src/web/app/mobile/views/components/post-detail.vue
@@ -38,7 +38,7 @@
</div>
</header>
<div class="body">
- <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"/>
<mk-url-preview v-for="url in urls" :url="url" :key="url"/>
<div class="media" v-if="p.media">
<mk-images :images="p.media"/>
@@ -304,20 +304,8 @@ export default Vue.extend({
> .body
padding 8px 0
- > .text
- cursor default
- display block
- margin 0
- padding 0
- overflow-wrap break-word
- font-size 16px
- color #717171
-
- @media (min-width 500px)
- font-size 24px
-
- > .mk-url-preview
- margin-top 8px
+ > .mk-url-preview
+ margin-top 8px
> .media
> img
@@ -360,3 +348,17 @@ export default Vue.extend({
border-top 1px solid #eef0f2
</style>
+
+<style lang="stylus" module>
+.text
+ display block
+ margin 0
+ padding 0
+ overflow-wrap break-word
+ font-size 16px
+ color #717171
+
+ @media (min-width 500px)
+ font-size 24px
+
+</style>