♿ Show scrollbar on searchable items
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/js",
|
||||
"version": "0.2.20",
|
||||
"version": "0.2.21",
|
||||
"description": "Javascript library to display typebots on your website",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
@ -333,17 +333,6 @@ pre {
|
||||
border-radius: var(--typebot-border-radius);
|
||||
}
|
||||
|
||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
||||
.hide-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide scrollbar for IE, Edge and Firefox */
|
||||
.hide-scrollbar {
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
}
|
||||
|
||||
.typebot-picture-button {
|
||||
color: var(--typebot-button-color);
|
||||
background-color: var(--typebot-button-bg-color);
|
||||
|
@ -52,7 +52,7 @@ export const Buttons = (props: Props) => {
|
||||
class={
|
||||
'flex flex-wrap justify-end gap-2' +
|
||||
(props.options?.isSearchable
|
||||
? ' overflow-y-scroll max-h-80 rounded-md hide-scrollbar'
|
||||
? ' overflow-y-scroll max-h-80 rounded-md'
|
||||
: '')
|
||||
}
|
||||
>
|
||||
|
@ -76,7 +76,7 @@ export const MultipleChoicesForm = (props: Props) => {
|
||||
class={
|
||||
'flex flex-wrap justify-end gap-2' +
|
||||
(props.options?.isSearchable
|
||||
? ' overflow-y-scroll max-h-80 rounded-md hide-scrollbar'
|
||||
? ' overflow-y-scroll max-h-80 rounded-md'
|
||||
: '')
|
||||
}
|
||||
>
|
||||
|
@ -97,7 +97,7 @@ export const MultiplePictureChoice = (props: Props) => {
|
||||
class={
|
||||
'flex flex-wrap justify-end gap-2' +
|
||||
(props.options?.isSearchable
|
||||
? ' overflow-y-scroll max-h-[464px] rounded-md hide-scrollbar'
|
||||
? ' overflow-y-scroll max-h-[464px] rounded-md'
|
||||
: '')
|
||||
}
|
||||
>
|
||||
|
@ -71,7 +71,7 @@ export const SinglePictureChoice = (props: Props) => {
|
||||
class={
|
||||
'gap-2 flex flex-wrap justify-end' +
|
||||
(props.options?.isSearchable
|
||||
? ' overflow-y-scroll max-h-[464px] rounded-md hide-scrollbar'
|
||||
? ' overflow-y-scroll max-h-[464px] rounded-md'
|
||||
: '')
|
||||
}
|
||||
>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/nextjs",
|
||||
"version": "0.2.20",
|
||||
"version": "0.2.21",
|
||||
"description": "Convenient library to display typebots on your Next.js website",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/react",
|
||||
"version": "0.2.20",
|
||||
"version": "0.2.21",
|
||||
"description": "Convenient library to display typebots on your React app",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
Reference in New Issue
Block a user