From 870b493b80b0c93459b740771b5be6203b34b092 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Mon, 13 Dec 2021 12:26:24 +0530 Subject: [PATCH] refactor: remove absolute classes --- packages/hoppscotch-app/assets/scss/styles.scss | 9 +++++++++ .../components/app/PowerSearchEntry.vue | 9 --------- packages/hoppscotch-app/components/app/Shortcuts.vue | 11 ----------- .../hoppscotch-app/components/app/ShortcutsEntry.vue | 11 ----------- .../components/collections/graphql/Collection.vue | 1 - .../components/collections/graphql/Folder.vue | 1 - .../components/collections/graphql/Request.vue | 1 - .../components/collections/my/Collection.vue | 1 - .../components/collections/my/Folder.vue | 1 - .../components/collections/my/Request.vue | 3 ++- .../components/collections/teams/Collection.vue | 1 - .../components/collections/teams/Folder.vue | 1 - .../components/collections/teams/Request.vue | 3 ++- .../components/environments/Environment.vue | 1 - .../hoppscotch-app/components/graphql/Response.vue | 11 ----------- .../hoppscotch-app/components/http/ResponseMeta.vue | 11 ----------- packages/hoppscotch-app/components/teams/Team.vue | 1 - packages/hoppscotch-app/locales/af.json | 1 + packages/hoppscotch-app/locales/ar.json | 1 + packages/hoppscotch-app/locales/ca.json | 1 + packages/hoppscotch-app/locales/cn.json | 1 + packages/hoppscotch-app/locales/cs.json | 1 + packages/hoppscotch-app/locales/da.json | 1 + packages/hoppscotch-app/locales/de.json | 1 + packages/hoppscotch-app/locales/el.json | 1 + packages/hoppscotch-app/locales/en.json | 1 + packages/hoppscotch-app/locales/es.json | 1 + packages/hoppscotch-app/locales/fi.json | 1 + packages/hoppscotch-app/locales/fr.json | 1 + packages/hoppscotch-app/locales/he.json | 1 + packages/hoppscotch-app/locales/hu.json | 1 + packages/hoppscotch-app/locales/it.json | 1 + packages/hoppscotch-app/locales/ja.json | 1 + packages/hoppscotch-app/locales/ko.json | 1 + packages/hoppscotch-app/locales/nl.json | 1 + packages/hoppscotch-app/locales/no.json | 1 + packages/hoppscotch-app/locales/pl.json | 1 + packages/hoppscotch-app/locales/pt-br.json | 1 + packages/hoppscotch-app/locales/pt.json | 1 + packages/hoppscotch-app/locales/ro.json | 1 + packages/hoppscotch-app/locales/ru.json | 1 + packages/hoppscotch-app/locales/sr.json | 1 + packages/hoppscotch-app/locales/sv.json | 1 + packages/hoppscotch-app/locales/tr.json | 1 + packages/hoppscotch-app/locales/tw.json | 1 + packages/hoppscotch-app/locales/uk.json | 1 + packages/hoppscotch-app/locales/vi.json | 1 + 47 files changed, 43 insertions(+), 64 deletions(-) diff --git a/packages/hoppscotch-app/assets/scss/styles.scss b/packages/hoppscotch-app/assets/scss/styles.scss index b8f4647fc..da72224c4 100644 --- a/packages/hoppscotch-app/assets/scss/styles.scss +++ b/packages/hoppscotch-app/assets/scss/styles.scss @@ -450,6 +450,15 @@ pre.ace_editor { } } +.shortcut-key { + @apply bg-dividerLight; + @apply rounded; + @apply ml-2; + @apply py-1; + @apply px-2; + @apply inline-flex; +} + @media (max-width: 767px) { main { margin-bottom: env(safe-area-inset-bottom); diff --git a/packages/hoppscotch-app/components/app/PowerSearchEntry.vue b/packages/hoppscotch-app/components/app/PowerSearchEntry.vue index 8c3eec2fa..62842e7d0 100644 --- a/packages/hoppscotch-app/components/app/PowerSearchEntry.vue +++ b/packages/hoppscotch-app/components/app/PowerSearchEntry.vue @@ -64,13 +64,4 @@ defineProps<{ } } } - -.shortcut-key { - @apply bg-dividerLight; - @apply rounded; - @apply ml-2; - @apply py-1; - @apply px-2; - @apply inline-flex; -} diff --git a/packages/hoppscotch-app/components/app/Shortcuts.vue b/packages/hoppscotch-app/components/app/Shortcuts.vue index e563b128b..d61cf453f 100644 --- a/packages/hoppscotch-app/components/app/Shortcuts.vue +++ b/packages/hoppscotch-app/components/app/Shortcuts.vue @@ -102,14 +102,3 @@ const close = () => { emit("close") } - - diff --git a/packages/hoppscotch-app/components/app/ShortcutsEntry.vue b/packages/hoppscotch-app/components/app/ShortcutsEntry.vue index 760e3d9d1..985d226d1 100644 --- a/packages/hoppscotch-app/components/app/ShortcutsEntry.vue +++ b/packages/hoppscotch-app/components/app/ShortcutsEntry.vue @@ -22,14 +22,3 @@ defineProps<{ shortcut: Object }>() - - diff --git a/packages/hoppscotch-app/components/collections/graphql/Collection.vue b/packages/hoppscotch-app/components/collections/graphql/Collection.vue index 8506f3fd3..fc9f39581 100644 --- a/packages/hoppscotch-app/components/collections/graphql/Collection.vue +++ b/packages/hoppscotch-app/components/collections/graphql/Collection.vue @@ -77,7 +77,6 @@ />
@@ -95,7 +97,6 @@ />
@@ -74,7 +76,6 @@ /> -.shortcut-key { - @apply bg-dividerLight; - @apply rounded; - @apply ml-2; - @apply py-1; - @apply px-2; - @apply inline-flex; -} - diff --git a/packages/hoppscotch-app/components/http/ResponseMeta.vue b/packages/hoppscotch-app/components/http/ResponseMeta.vue index c32e9683c..4de9083e4 100644 --- a/packages/hoppscotch-app/components/http/ResponseMeta.vue +++ b/packages/hoppscotch-app/components/http/ResponseMeta.vue @@ -144,14 +144,3 @@ const statusCategory = computed(() => { return findStatusGroup(props.response.statusCode) }) - - diff --git a/packages/hoppscotch-app/components/teams/Team.vue b/packages/hoppscotch-app/components/teams/Team.vue index 9e7190cdd..93003f14c 100644 --- a/packages/hoppscotch-app/components/teams/Team.vue +++ b/packages/hoppscotch-app/components/teams/Team.vue @@ -89,7 +89,6 @@