From dea85c3a976497a7d54eecc7b3386452e8cd4f0c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 20 Feb 2018 23:12:29 +0900 Subject: [PATCH] wip --- src/web/app/desktop/views/components/post-preview.vue | 5 +---- src/web/app/desktop/views/components/posts.post.sub.vue | 4 +--- src/web/app/desktop/views/components/posts.post.vue | 5 +---- src/web/app/desktop/views/components/ui.header.post.vue | 2 +- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/web/app/desktop/views/components/post-preview.vue b/src/web/app/desktop/views/components/post-preview.vue index 7452bffe2..b39ad3db4 100644 --- a/src/web/app/desktop/views/components/post-preview.vue +++ b/src/web/app/desktop/views/components/post-preview.vue @@ -72,9 +72,7 @@ export default Vue.extend({ padding 0 color #607073 font-size 1em - line-height 1.1em - font-weight 700 - text-align left + font-weight bold text-decoration none white-space normal @@ -82,7 +80,6 @@ export default Vue.extend({ text-decoration underline > .username - text-align left margin 0 .5em 0 0 color #d1d8da diff --git a/src/web/app/desktop/views/components/posts.post.sub.vue b/src/web/app/desktop/views/components/posts.post.sub.vue index dffa8f5a4..4e52d1d70 100644 --- a/src/web/app/desktop/views/components/posts.post.sub.vue +++ b/src/web/app/desktop/views/components/posts.post.sub.vue @@ -80,8 +80,7 @@ export default Vue.extend({ overflow hidden color #607073 font-size 1em - font-weight 700 - text-align left + font-weight bold text-decoration none text-overflow ellipsis @@ -89,7 +88,6 @@ export default Vue.extend({ text-decoration underline > .username - text-align left margin 0 .5em 0 0 color #d1d8da diff --git a/src/web/app/desktop/views/components/posts.post.vue b/src/web/app/desktop/views/components/posts.post.vue index 993bba58c..05934571a 100644 --- a/src/web/app/desktop/views/components/posts.post.vue +++ b/src/web/app/desktop/views/components/posts.post.vue @@ -371,8 +371,7 @@ export default Vue.extend({ overflow hidden color #777 font-size 1em - font-weight 700 - text-align left + font-weight bold text-decoration none text-overflow ellipsis @@ -380,7 +379,6 @@ export default Vue.extend({ text-decoration underline > .is-bot - text-align left margin 0 .5em 0 0 padding 1px 6px font-size 12px @@ -389,7 +387,6 @@ export default Vue.extend({ border-radius 3px > .username - text-align left margin 0 .5em 0 0 color #ccc diff --git a/src/web/app/desktop/views/components/ui.header.post.vue b/src/web/app/desktop/views/components/ui.header.post.vue index 10bce0622..e8ed380f0 100644 --- a/src/web/app/desktop/views/components/ui.header.post.vue +++ b/src/web/app/desktop/views/components/ui.header.post.vue @@ -10,7 +10,7 @@ import Vue from 'vue'; export default Vue.extend({ methods: { post() { - (this.$parent.$parent as any).openPostForm(); + (this as any).apis.post(); } } });