Skip to content

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

fix: firefox browser scrollbar issue (#3201)

Anwarul Islam8bb1d19c0780
diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.ts
index a3e0fbf33..914ec6108 100644
--- a/packages/hoppscotch-common/src/components.d.ts
+++ b/packages/hoppscotch-common/src/components.d.ts
@@ -133,7 +133,10 @@ declare module '@vue/runtime-core' {
IconLucideLayers: typeof import('~icons/lucide/layers')['default']
IconLucideListEnd: typeof import('~icons/lucide/list-end')['default']
IconLucideMinus: typeof import('~icons/lucide/minus')['default']
+<<<<<<< HEAD
IconLucideRss: typeof import('~icons/lucide/rss')['default']
+=======
+>>>>>>> 6db825779 (fix: firefox browser scrollbar issue)
IconLucideSearch: typeof import('~icons/lucide/search')['default']
IconLucideUsers: typeof import('~icons/lucide/users')['default']
LensesHeadersRenderer: typeof import('./components/lenses/HeadersRenderer.vue')['default']
diff --git a/packages/hoppscotch-ui/src/components/smart/Windows.vue b/packages/hoppscotch-ui/src/components/smart/Windows.vue
index e4f8378c7..af7dc2a6e 100644
--- a/packages/hoppscotch-ui/src/components/smart/Windows.vue
+++ b/packages/hoppscotch-ui/src/components/smart/Windows.vue
@@ -4,7 +4,7 @@
class="relative sticky top-0 z-10 flex-shrink-0 overflow-x-auto divide-x divide-dividerLight bg-primaryLight tabs group-tabs"
>
<div
- class="flex flex-1 flex-shrink-0 w-0 overflow-x-auto"
+ class="flex flex-1 flex-shrink-0 w-0 overflow-hidden"
ref="scrollContainer"
>
<div
@@ -455,6 +455,7 @@ $slider-height: 4px;
@apply min-w-0;
@apply bg-dividerDark;
@apply hover:bg-secondaryLight;
+ @apply active:bg-secondaryLight;
width: var(--thumb-width);
height: $slider-height;
@@ -465,6 +466,7 @@ $slider-height: 4px;
@apply min-w-0;
@apply bg-dividerDark;
@apply hover:bg-secondaryLight;
+ @apply active:bg-secondaryLight;
width: var(--thumb-width);
height: $slider-height;