fix: remove scrollbar from smart env input component on firefox (#3362)

This commit is contained in:
Liyas Thomas
2023-09-18 13:20:53 +05:30
committed by GitHub
parent 3684d25848
commit bb5c333bae
4 changed files with 13 additions and 1 deletions

View File

@@ -31,6 +31,10 @@
@apply h-0;
}
.no-scrollbar {
scrollbar-width: none;
}
input::placeholder,
textarea::placeholder,
.cm-placeholder {

View File

@@ -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"

View File

@@ -31,6 +31,10 @@
@apply h-0;
}
.no-scrollbar {
scrollbar-width: none;
}
input::placeholder,
textarea::placeholder,
.cm-placeholder {

View File

@@ -31,6 +31,10 @@
@apply h-0;
}
.no-scrollbar {
scrollbar-width: none;
}
input::placeholder,
textarea::placeholder,
.cm-placeholder {