From bb4532827a9f2335f4a166d154fb077851cf0b9a Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Mon, 15 Jul 2019 11:20:28 -0300 Subject: [PATCH] Refactor search input, navbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix search input width on desktop - removed adding removing classes on focus/blur search input - fix notifications dropdown on mobile Co-authored-by: Wolfgang Huß --- webapp/components/FilterPosts/FilterPosts.vue | 4 ++-- .../notifications/NotificationMenu/index.vue | 5 +++- webapp/layouts/default.vue | 24 ++++--------------- 3 files changed, 11 insertions(+), 22 deletions(-) diff --git a/webapp/components/FilterPosts/FilterPosts.vue b/webapp/components/FilterPosts/FilterPosts.vue index 56c95a21a..01388ad6c 100644 --- a/webapp/components/FilterPosts/FilterPosts.vue +++ b/webapp/components/FilterPosts/FilterPosts.vue @@ -22,8 +22,8 @@ export default { FilterPostsMenuItems, }, props: { - placement: { type: String, default: 'bottom-start' }, - offset: { type: [String, Number], default: '16' }, + placement: { type: String }, + offset: { type: [String, Number] }, categories: { type: Array, default: () => [] }, }, data() { diff --git a/webapp/components/notifications/NotificationMenu/index.vue b/webapp/components/notifications/NotificationMenu/index.vue index 20a9a7074..a7c0cc4b7 100644 --- a/webapp/components/notifications/NotificationMenu/index.vue +++ b/webapp/components/notifications/NotificationMenu/index.vue @@ -2,7 +2,7 @@ {{ totalNotifications }} - +