fix(app): scrolling for unpaid model selector
This commit is contained in:
parent
07d7dc083c
commit
27b45d070d
1 changed files with 2 additions and 1 deletions
|
|
@ -35,9 +35,10 @@ export const DialogSelectModelUnpaid: Component = () => {
|
|||
|
||||
return (
|
||||
<Dialog title={language.t("dialog.model.select.title")}>
|
||||
<div class="flex flex-col gap-3 px-2.5">
|
||||
<div class="flex flex-col gap-3 px-2.5 flex-1 min-h-0">
|
||||
<div class="text-14-medium text-text-base px-2.5">{language.t("dialog.model.unpaid.freeModels.title")}</div>
|
||||
<List
|
||||
class="flex-1 min-h-0 [&_[data-slot=list-scroll]]:flex-1 [&_[data-slot=list-scroll]]:min-h-0"
|
||||
ref={(ref) => (listRef = ref)}
|
||||
items={local.model.list}
|
||||
current={local.model.current()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue