fix: remove caret down icon when tab selected into remote model (#2102)

This commit is contained in:
Faisal Amir 2024-02-20 13:09:08 +07:00 committed by GitHub
parent 6966c5d0ef
commit 6b88d4df4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,12 @@ const DropdownListSidebar = ({
</SelectValue> </SelectValue>
</SelectTrigger> </SelectTrigger>
<SelectPortal> <SelectPortal>
<SelectContent className="right-2 block w-full min-w-[450px] pr-0"> <SelectContent
className={twMerge(
'right-2 block w-full min-w-[450px] pr-0',
isTabActive === 1 && '[&_.select-scroll-down-button]:hidden'
)}
>
<div className="relative px-2 py-2 dark:bg-secondary/50"> <div className="relative px-2 py-2 dark:bg-secondary/50">
<ul className="inline-flex w-full space-x-2 rounded-lg bg-zinc-100 px-1 dark:bg-secondary"> <ul className="inline-flex w-full space-x-2 rounded-lg bg-zinc-100 px-1 dark:bg-secondary">
{engineOptions.map((name, i) => { {engineOptions.map((name, i) => {