Skip to content

Commit

Permalink
fix: remove scrollbar from smart env input component on firefox (#3362)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Sep 18, 2023
1 parent 3684d25 commit bb5c333
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/hoppscotch-common/assets/scss/styles.scss
Expand Up @@ -31,6 +31,10 @@
@apply h-0;
}

.no-scrollbar {
scrollbar-width: none;
}

input::placeholder,
textarea::placeholder,
.cm-placeholder {
Expand Down
@@ -1,7 +1,7 @@
<template>
<div ref="autoCompleteWrapper" class="autocomplete-wrapper">
<div
class="absolute inset-0 flex flex-1 divide-x divide-dividerLight overflow-x-auto"
class="absolute inset-0 flex flex-1 divide-x divide-dividerLight overflow-x-auto no-scrollbar"
>
<div
ref="editor"
Expand Down
4 changes: 4 additions & 0 deletions packages/hoppscotch-sh-admin/assets/scss/styles.scss
Expand Up @@ -31,6 +31,10 @@
@apply h-0;
}

.no-scrollbar {
scrollbar-width: none;
}

input::placeholder,
textarea::placeholder,
.cm-placeholder {
Expand Down
4 changes: 4 additions & 0 deletions packages/hoppscotch-ui/src/assets/scss/styles.scss
Expand Up @@ -31,6 +31,10 @@
@apply h-0;
}

.no-scrollbar {
scrollbar-width: none;
}

input::placeholder,
textarea::placeholder,
.cm-placeholder {
Expand Down

0 comments on commit bb5c333

Please sign in to comment.