Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: truncate long secret environment variables (#4958)

atrimpe-ford72cff7527741
diff --git a/packages/hoppscotch-common/src/components/smart/EnvInput.vue b/packages/hoppscotch-common/src/components/smart/EnvInput.vue
index 946ce5817..b4e9addad 100644
--- a/packages/hoppscotch-common/src/components/smart/EnvInput.vue
+++ b/packages/hoppscotch-common/src/components/smart/EnvInput.vue
@@ -9,7 +9,7 @@
v-model="secretText"
name="secret"
:placeholder="t('environment.secret_value')"
- class="flex flex-1 bg-transparent px-4"
+ class="flex flex-1 bg-transparent pl-4"
:class="styles"
type="password"
/>
@@ -17,7 +17,7 @@
v-else
ref="editor"
:placeholder="placeholder"
- class="flex flex-1"
+ class="flex flex-1 truncate"
:class="styles"
@click="emit('click', $event)"
@keydown="handleKeystroke"