summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/components
diff options
context:
space:
mode:
authoradamelmore <[email protected]>2026-01-24 13:38:14 -0600
committeradamelmore <[email protected]>2026-01-24 13:38:14 -0600
commit27b45d070d927c6fd423f9eb0f8ad6a3a612336f (patch)
tree8bb040ff200bd79e1a16f30eee952377cc03fe51 /packages/app/src/components
parent07d7dc083cd3c138786c06317ef9832ed12d1303 (diff)
downloadopencode-27b45d070d927c6fd423f9eb0f8ad6a3a612336f.tar.gz
opencode-27b45d070d927c6fd423f9eb0f8ad6a3a612336f.zip
fix(app): scrolling for unpaid model selector
Diffstat (limited to 'packages/app/src/components')
-rw-r--r--packages/app/src/components/dialog-select-model-unpaid.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/app/src/components/dialog-select-model-unpaid.tsx b/packages/app/src/components/dialog-select-model-unpaid.tsx
index 1e7c9f52a..089c4c0cd 100644
--- a/packages/app/src/components/dialog-select-model-unpaid.tsx
+++ b/packages/app/src/components/dialog-select-model-unpaid.tsx
@@ -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()}