make long model list scroll in model select
This commit is contained in:
parent
7c8677fe39
commit
d7878663ea
1 changed files with 5 additions and 1 deletions
|
|
@ -332,7 +332,9 @@ function ModelSelect() {
|
|||
$showabove={showAbove}
|
||||
className="z-50 max-w-[90vw]"
|
||||
>
|
||||
<div className={`max-h-[${MAX_HEIGHT_PX}px]`}>
|
||||
<div
|
||||
className={`max-h-[${MAX_HEIGHT_PX}px] no-scrollbar overflow-y-scroll`}
|
||||
>
|
||||
{sortedOptions.map((option, idx) => (
|
||||
<ModelOption
|
||||
option={option}
|
||||
|
|
@ -345,6 +347,8 @@ function ModelSelect() {
|
|||
</div>
|
||||
|
||||
<div className="mt-auto">
|
||||
<Divider className="!my-0" />
|
||||
|
||||
{selectedProfileId === "local" && (
|
||||
<>
|
||||
<StyledListboxOption
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue