Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
:art: Improving structure / format of the code
Liyas Thomas0b6671d53822
diff --git a/components/modal.vue b/components/modal.vueindex c80b24be9..4b12fa291 100644--- a/components/modal.vue+++ b/components/modal.vue@@ -25,7 +25,7 @@left: 0;width: 100%;height: 100%;- background-color: rgba(0, 0, 0, 0.87);+ background-color: rgba(0, 0, 0, 0.32);display: flex;align-items: center;justify-content: center;diff --git a/pages/index.vue b/pages/index.vueindex ac6338f28..4b53a3057 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -458,7 +458,8 @@:disabled="!isValidURL"v-tooltip.bottom="$t('copy_request_link')">- <i class="material-icons">file_copy</i>+ <i v-if="navigatorShare" class="material-icons">share</i>+ <i v-else class="material-icons">file_copy</i></button><buttonclass="icon"@@ -1509,7 +1510,8 @@ export default {fb,customMethod: false,files: [],- filenames: ""+ filenames: "",+ navigatorShare: navigator.share};},watch: {diff --git a/pages/settings.vue b/pages/settings.vueindex a283bad39..490ca804c 100644--- a/pages/settings.vue+++ b/pages/settings.vue@@ -270,7 +270,7 @@ export default {aceEditor: "vibrant_ink"},{- color: "var(--bg-color)",+ color: "var(--ac-color)",name: this.$t("auto_system"),vibrant: window.matchMedia("(prefers-color-scheme: light)").matches,class: "auto",