summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-20 23:12:29 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-20 23:12:29 +0900
commitdea85c3a976497a7d54eecc7b3386452e8cd4f0c (patch)
treee03daaad6f0e5cd7de8cb495538dda992b857339
parentwip (diff)
downloadsharkey-dea85c3a976497a7d54eecc7b3386452e8cd4f0c.tar.gz
sharkey-dea85c3a976497a7d54eecc7b3386452e8cd4f0c.tar.bz2
sharkey-dea85c3a976497a7d54eecc7b3386452e8cd4f0c.zip
wip
-rw-r--r--src/web/app/desktop/views/components/post-preview.vue5
-rw-r--r--src/web/app/desktop/views/components/posts.post.sub.vue4
-rw-r--r--src/web/app/desktop/views/components/posts.post.vue5
-rw-r--r--src/web/app/desktop/views/components/ui.header.post.vue2
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 7452bffe2d..b39ad3db40 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 dffa8f5a47..4e52d1d708 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 993bba58cf..05934571a3 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 10bce0622c..e8ed380f06 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();
}
}
});