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
refactor: improve ui consistency
liyasthomas2b4155e96933
diff --git a/packages/hoppscotch-app/assets/scss/styles.scss b/packages/hoppscotch-app/assets/scss/styles.scssindex cd495080d..0e3aa15c6 100644--- a/packages/hoppscotch-app/assets/scss/styles.scss+++ b/packages/hoppscotch-app/assets/scss/styles.scss@@ -459,6 +459,10 @@ pre.ace_editor {@apply first-letter:capitalize;}+details summary::-webkit-details-marker {+ @apply hidden;+}+@media (max-width: 767px) {main {margin-bottom: env(safe-area-inset-bottom);diff --git a/packages/hoppscotch-app/components/history/index.vue b/packages/hoppscotch-app/components/history/index.vueindex 86f411abc..f7b659f43 100644--- a/packages/hoppscotch-app/components/history/index.vue+++ b/packages/hoppscotch-app/components/history/index.vue@@ -37,7 +37,7 @@open><summary- class="flex items-center justify-between flex-1 min-w-0 transition cursor-pointer text-secondaryLight text-tiny group"+ class="flex items-center justify-between flex-1 min-w-0 transition cursor-pointer focus:outline-none text-secondaryLight text-tiny group"><spanclass="px-4 py-2 truncate transition group-hover:text-secondary capitalize-first"diff --git a/packages/hoppscotch-app/components/realtime/Mqtt.vue b/packages/hoppscotch-app/components/realtime/Mqtt.vueindex 8e7e29ef6..205cf0d35 100644--- a/packages/hoppscotch-app/components/realtime/Mqtt.vue+++ b/packages/hoppscotch-app/components/realtime/Mqtt.vue@@ -73,7 +73,7 @@min-size="20"class="hide-scrollbar !overflow-auto">- <div class="flex inline-flex flex-col flex-1 p-4">+ <div class="flex flex-col flex-1 p-4"><label for="pub_topic" class="font-semibold text-secondaryLight">{{ $t("mqtt.topic") }}</label>@@ -112,9 +112,7 @@@click.native="publish"/></div>- <div- class="flex inline-flex flex-col flex-1 p-4 mt-4 border-t border-dividerLight"- >+ <div class="flex flex-col flex-1 p-4 mt-4 border-t border-dividerLight"><label for="sub_topic" class="font-semibold text-secondaryLight">{{ $t("mqtt.topic") }}</label>diff --git a/packages/hoppscotch-app/components/realtime/Socketio.vue b/packages/hoppscotch-app/components/realtime/Socketio.vueindex 63c1bfd4d..ca0884b35 100644--- a/packages/hoppscotch-app/components/realtime/Socketio.vue+++ b/packages/hoppscotch-app/components/realtime/Socketio.vue@@ -225,7 +225,7 @@min-size="20"class="hide-scrollbar !overflow-auto">- <div class="flex inline-flex flex-col flex-1 p-4">+ <div class="flex flex-col flex-1 p-4"><label for="events" class="font-semibold text-secondaryLight">{{ $t("socketio.events") }}</label>diff --git a/packages/hoppscotch-app/components/realtime/Websocket.vue b/packages/hoppscotch-app/components/realtime/Websocket.vueindex a24f92a18..bacd72c4a 100644--- a/packages/hoppscotch-app/components/realtime/Websocket.vue+++ b/packages/hoppscotch-app/components/realtime/Websocket.vue@@ -147,7 +147,7 @@min-size="20"class="hide-scrollbar !overflow-auto">- <div class="flex inline-flex flex-col flex-1 p-4">+ <div class="flex flex-col flex-1 p-4"><labelfor="websocket-message"class="font-semibold text-secondaryLight"