From 72cff7527741e2b1d013413ef21a43b0f4cd7d7c Mon Sep 17 00:00:00 2001 From: atrimpe-ford Date: Fri, 11 Apr 2025 07:55:12 -0400 Subject: [PATCH] chore: truncate long secret environment variables (#4958) Co-authored-by: nivedin --- packages/hoppscotch-common/src/components/smart/EnvInput.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hoppscotch-common/src/components/smart/EnvInput.vue b/packages/hoppscotch-common/src/components/smart/EnvInput.vue index 946ce581..b4e9adda 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"