From 647599e5aaa980a9c9b3b6c38be1bf32190709e0 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sun, 29 Aug 2021 09:44:46 +0530 Subject: [PATCH] refactor: full-width modal for search, transparent tabs --- components/app/Lunr.vue | 10 ++--- components/app/Search.vue | 30 +++++++++------ components/graphql/RequestOptions.vue | 2 +- components/graphql/Sidebar.vue | 4 +- components/lenses/ResponseBodyRenderer.vue | 2 +- components/smart/Modal.vue | 13 +++++-- components/smart/Tabs.vue | 1 - helpers/shortcuts.js | 44 +++++++++++----------- pages/index.vue | 4 +- pages/realtime.vue | 2 +- 10 files changed, 63 insertions(+), 49 deletions(-) diff --git a/components/app/Lunr.vue b/components/app/Lunr.vue index 3c9eee180..7dd60e2e2 100644 --- a/components/app/Lunr.vue +++ b/components/app/Lunr.vue @@ -4,7 +4,6 @@ v-for="(shortcut, shortcutIndex) in theOutput" :key="`shortcut-${shortcutIndex}`" class=" - rounded cursor-pointer flex py-2 @@ -16,10 +15,11 @@ " @click="$emit('action', shortcut.action)" > - - {{ shortcut.icon }} - - + + {{ $t(shortcut.label) }} - +