From bc632cefe51d9d9cb50d787c8141365429e74396 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 22:03:44 +0900 Subject: [PATCH] wip --- src/web/app/common/views/components/index.ts | 2 + src/web/app/common/views/components/poll.vue | 164 +++++++++--------- src/web/app/desktop/views/components/home.vue | 4 +- .../views/components/notifications.vue | 2 +- .../app/desktop/views/components/posts.vue | 5 +- src/web/app/mobile/views/components/index.ts | 2 + .../mobile/views/components/notification.vue | 1 + .../mobile/views/components/notifications.vue | 3 +- src/web/app/mobile/views/components/posts.vue | 7 +- src/web/app/mobile/views/pages/post.vue | 2 +- src/web/app/mobile/views/pages/user.vue | 2 +- 11 files changed, 104 insertions(+), 90 deletions(-) diff --git a/src/web/app/common/views/components/index.ts b/src/web/app/common/views/components/index.ts index d3f6a425f..ab0f1767d 100644 --- a/src/web/app/common/views/components/index.ts +++ b/src/web/app/common/views/components/index.ts @@ -5,6 +5,7 @@ import signup from './signup.vue'; import forkit from './forkit.vue'; import nav from './nav.vue'; import postHtml from './post-html'; +import poll from './poll.vue'; import pollEditor from './poll-editor.vue'; import reactionIcon from './reaction-icon.vue'; import reactionsViewer from './reactions-viewer.vue'; @@ -25,6 +26,7 @@ Vue.component('mk-signup', signup); Vue.component('mk-forkit', forkit); Vue.component('mk-nav', nav); Vue.component('mk-post-html', postHtml); +Vue.component('mk-poll', poll); Vue.component('mk-poll-editor', pollEditor); Vue.component('mk-reaction-icon', reactionIcon); Vue.component('mk-reactions-viewer', reactionsViewer); diff --git a/src/web/app/common/views/components/poll.vue b/src/web/app/common/views/components/poll.vue index d06c019db..7ed5bc6b1 100644 --- a/src/web/app/common/views/components/poll.vue +++ b/src/web/app/common/views/components/poll.vue @@ -1,11 +1,11 @@ - diff --git a/src/web/app/desktop/views/components/home.vue b/src/web/app/desktop/views/components/home.vue index 6b2d75d84..eabcc485d 100644 --- a/src/web/app/desktop/views/components/home.vue +++ b/src/web/app/desktop/views/components/home.vue @@ -287,7 +287,7 @@ export default Vue.extend({ width calc(100% - 275px * 2) order 2 - > *:not(main) + > *:not(.main) width 275px padding 16px 0 16px 0 @@ -303,7 +303,7 @@ export default Vue.extend({ order 3 @media (max-width 1100px) - > *:not(main) + > *:not(.main) display none > .main diff --git a/src/web/app/desktop/views/components/notifications.vue b/src/web/app/desktop/views/components/notifications.vue index 443ebea2a..e3a69d620 100644 --- a/src/web/app/desktop/views/components/notifications.vue +++ b/src/web/app/desktop/views/components/notifications.vue @@ -10,7 +10,7 @@

- + {{ notification.user.name }}

diff --git a/src/web/app/desktop/views/components/posts.vue b/src/web/app/desktop/views/components/posts.vue index 7576fd31b..ec36889ec 100644 --- a/src/web/app/desktop/views/components/posts.vue +++ b/src/web/app/desktop/views/components/posts.vue @@ -1,7 +1,7 @@