Fix combo modal

This commit is contained in:
decolua
2026-04-09 10:16:11 +07:00
parent 507a5dbfea
commit 39545cf4c8
7 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ export default function Modal({
>
{/* Header */}
{(title || showCloseButton) && (
<div className="flex items-center justify-between p-6 border-b border-black/5 dark:border-white/5">
<div className="flex items-center justify-between p-2 border-b border-black/5 dark:border-white/5">
<div className="flex items-center">
<div className="flex items-center gap-2 mr-4">
<div className="w-3 h-3 rounded-full bg-[#FF5F56]" />
@@ -94,7 +94,7 @@ export default function Modal({
)}
{/* Body */}
<div className="p-6 max-h-[calc(80vh-140px)] overflow-y-auto">{children}</div>
<div className="p-6 max-h-[calc(85vh-100px)] overflow-y-auto">{children}</div>
{/* Footer */}
{footer && (
+1 -1
View File
@@ -249,7 +249,7 @@ export default function ModelSelectModal({
</div>
{/* Models grouped by provider - compact */}
<div className="max-h-[300px] overflow-y-auto space-y-3">
<div className="max-h-[400px] overflow-y-auto space-y-3">
{/* Combos section - always first */}
{filteredCombos.length > 0 && (
<div>