From f94ee7c73fff5a889c262a5f72660b3f9bb8673b Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Mon, 20 Dec 2021 14:40:38 +0530 Subject: [PATCH] refactor: remove shortcut hints in mobile devices --- .../hoppscotch-app/assets/scss/styles.scss | 3 +- .../hoppscotch-app/components/app/Footer.vue | 32 ++++++---- .../hoppscotch-app/components/app/Header.vue | 24 ++++--- .../components/app/PowerSearch.vue | 60 +++++++++--------- .../components/button/Primary.vue | 2 +- .../components/button/Secondary.vue | 2 +- .../collections/graphql/Collection.vue | 32 ++++++---- .../components/collections/graphql/Folder.vue | 32 ++++++---- .../collections/graphql/Request.vue | 30 ++++++--- .../components/collections/my/Collection.vue | 38 +++++++----- .../components/collections/my/Folder.vue | 58 ++++++++++------- .../components/collections/my/Request.vue | 32 ++++++---- .../collections/teams/Collection.vue | 62 ++++++++++++------- .../components/collections/teams/Folder.vue | 44 ++++++++----- .../components/collections/teams/Request.vue | 41 +++++++----- .../components/environments/Environment.vue | 30 ++++++--- .../components/http/Authorization.vue | 46 +++++++++----- .../components/http/Request.vue | 29 ++++++--- .../components/profile/Picture.vue | 7 ++- .../components/smart/AutoComplete.vue | 1 - .../hoppscotch-app/components/smart/Item.vue | 4 +- .../hoppscotch-app/components/teams/Team.vue | 52 +++++++++------- packages/hoppscotch-app/pages/profile.vue | 2 +- 23 files changed, 410 insertions(+), 253 deletions(-) diff --git a/packages/hoppscotch-app/assets/scss/styles.scss b/packages/hoppscotch-app/assets/scss/styles.scss index 2fa853337..c71d63167 100644 --- a/packages/hoppscotch-app/assets/scss/styles.scss +++ b/packages/hoppscotch-app/assets/scss/styles.scss @@ -148,7 +148,8 @@ a { font-size: 88%; kbd { - @apply inline-flex; + @apply hidden; + @apply sm:inline-flex; @apply font-sans; @apply bg-gray-500; @apply bg-opacity-45; diff --git a/packages/hoppscotch-app/components/app/Footer.vue b/packages/hoppscotch-app/components/app/Footer.vue index b57b7ff41..34e201560 100644 --- a/packages/hoppscotch-app/components/app/Footer.vue +++ b/packages/hoppscotch-app/components/app/Footer.vue @@ -31,7 +31,7 @@ trigger="click" theme="popover" arrow - :on-shown="() => $refs.tippyActions.focus()" + :on-shown="() => tippyActions.focus()" >