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
fix: cleanup ui and improve consistency in input elements (#3494)
Liyas Thomas0aa5825d8b85
diff --git a/packages/hoppscotch-common/src/components/collections/index.vue b/packages/hoppscotch-common/src/components/collections/index.vueindex c19e6dbfe..c903a068f 100644--- a/packages/hoppscotch-common/src/components/collections/index.vue+++ b/packages/hoppscotch-common/src/components/collections/index.vue@@ -18,13 +18,12 @@"><WorkspaceCurrent :section="t('tab.collections')" />-- <HoppSmartInput+ <inputv-model="filterTexts"- :placeholder="t('action.search')"- input-styles="py-2 pl-4 pr-2 bg-transparent !border-0"type="search"- :autofocus="false"+ autocomplete="off"+ class="flex w-full p-4 py-2 bg-transparent h-8"+ :placeholder="t('action.search')":disabled="collectionsType.type === 'team-collections'"/></div>diff --git a/packages/hoppscotch-common/src/components/environments/Selector.vue b/packages/hoppscotch-common/src/components/environments/Selector.vueindex d9dcd1ad0..497076666 100644--- a/packages/hoppscotch-common/src/components/environments/Selector.vue+++ b/packages/hoppscotch-common/src/components/environments/Selector.vue@@ -66,7 +66,7 @@/><HoppSmartTabsv-model="selectedEnvTab"- :styles="`sticky overflow-x-auto my-2 border border-divider rounded flex-shrink-0 z-0 top-0 bg-primary ${+ :styles="`sticky overflow-x-auto my-2 border border-divider rounded flex-shrink-0 z-10 top-0 bg-primary ${!isTeamSelected || workspace.type === 'personal'? 'bg-primaryLight': ''diff --git a/packages/hoppscotch-common/src/components/graphql/Sidebar.vue b/packages/hoppscotch-common/src/components/graphql/Sidebar.vueindex 0e211f66d..b297814ab 100644--- a/packages/hoppscotch-common/src/components/graphql/Sidebar.vue+++ b/packages/hoppscotch-common/src/components/graphql/Sidebar.vue@@ -30,8 +30,8 @@v-model="graphqlFieldsFilterText"type="search"autocomplete="off"+ class="flex w-full p-4 py-2 bg-transparent h-8":placeholder="`${t('action.search')}`"- class="flex flex-1 p-4 py-2 bg-transparent"/><div class="flex"><HoppButtonSecondarydiff --git a/packages/hoppscotch-common/src/components/history/index.vue b/packages/hoppscotch-common/src/components/history/index.vueindex 8f69d78ed..0c3a48eec 100644--- a/packages/hoppscotch-common/src/components/history/index.vue+++ b/packages/hoppscotch-common/src/components/history/index.vue@@ -9,7 +9,7 @@v-model="filterText"type="search"autocomplete="off"- class="flex flex-1 p-4 py-2 bg-transparent"+ class="flex w-full p-4 py-2 bg-transparent h-8":placeholder="`${t('action.search')}`"/><div class="flex">