From f2c6dd658130be3dbef260dfa03d6bb7c67b7236 Mon Sep 17 00:00:00 2001 From: dev92341 Date: Tue, 5 Feb 2019 03:57:11 -0800 Subject: Add option to hide features panel --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index 833608ea..b999d889 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,7 +29,7 @@ - + -- cgit v1.2.3-70-g09d2 From 1ee762cf6e09c12c21d5ba23295a128db493f6fc Mon Sep 17 00:00:00 2001 From: dev92341 Date: Tue, 5 Feb 2019 04:32:00 -0800 Subject: Add option to hide features panel --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index b999d889..082c6cb6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,7 +29,7 @@ - + -- cgit v1.2.3-70-g09d2 From f512ee2c3c30fbdd983dfcf8df5008208037f71e Mon Sep 17 00:00:00 2001 From: Xiaofeng An Date: Wed, 6 Feb 2019 05:01:32 -0500 Subject: move login hint into the main content --- src/App.scss | 14 +++++++ src/App.vue | 7 ++++ src/components/timeline/timeline.js | 3 +- src/components/timeline/timeline.vue | 73 ++++++++++++------------------------ 4 files changed, 47 insertions(+), 50 deletions(-) (limited to 'src/App.vue') diff --git a/src/App.scss b/src/App.scss index d3721b32..1eaed6ea 100644 --- a/src/App.scss +++ b/src/App.scss @@ -719,3 +719,17 @@ nav { margin-right: 0.8em; } } + +.login-hint { + text-align: center; + + @media all and (min-width: 801px) { + display: none; + } + + a { + display: inline-block; + padding: 1em 0px; + width: 100%; + } +} diff --git a/src/App.vue b/src/App.vue index 082c6cb6..342a4fdf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -37,6 +37,13 @@
+ diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 2bbb05f3..85e0a055 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -39,8 +39,7 @@ const Timeline = { body: ['timeline-body'].concat(!this.embedded ? ['panel-body'] : []), footer: ['timeline-footer'].concat(!this.embedded ? ['panel-footer'] : []) } - }, - currentUser () { return this.$store.state.users.currentUser } + } }, components: { Status, diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 74909f6d..e3eea3bd 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,42 +1,33 @@