From 4594e838d40dd8ab33be9034b3bba3f681e19650 Mon Sep 17 00:00:00 2001 From: Hypo <74409933+Theproudcold@users.noreply.github.com> Date: Mon, 2 Mar 2026 19:28:40 +0800 Subject: [PATCH] fix(common): hide horizontal scrollbar in Firefox for URL input (#5906) Co-authored-by: nivedin --- packages/hoppscotch-common/src/components/smart/EnvInput.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/hoppscotch-common/src/components/smart/EnvInput.vue b/packages/hoppscotch-common/src/components/smart/EnvInput.vue index 69253cc4..4138885e 100644 --- a/packages/hoppscotch-common/src/components/smart/EnvInput.vue +++ b/packages/hoppscotch-common/src/components/smart/EnvInput.vue @@ -749,6 +749,11 @@ watch( @apply flex-shrink-0; @apply whitespace-nowrap py-4; + // Hide horizontal scrollbar for CodeMirror in Firefox (Chrome is handled by global ::-webkit-scrollbar { h-0 }) + :deep(.cm-scroller) { + scrollbar-width: none; + } + .suggestions { @apply absolute; @apply bg-popover;