Spaces:
Sleeping
Sleeping
adityaverma977 commited on
Commit ·
11ba25d
1
Parent(s): 593e9c0
Add scroll to models panel (max-height 400px, overflow-y-auto)
Browse files
frontend/components/ModelSelector.tsx
CHANGED
|
@@ -77,7 +77,7 @@ export default function ModelSelector({
|
|
| 77 |
<h3 className="text-[10px] font-mono text-white/30 uppercase tracking-[0.2em] mb-4">
|
| 78 |
Select Survivors ({models.length}/6)
|
| 79 |
</h3>
|
| 80 |
-
<div className="space-y-1.5">
|
| 81 |
{allModels.map((m) => {
|
| 82 |
const isSelected = models.includes(m.id)
|
| 83 |
return (
|
|
|
|
| 77 |
<h3 className="text-[10px] font-mono text-white/30 uppercase tracking-[0.2em] mb-4">
|
| 78 |
Select Survivors ({models.length}/6)
|
| 79 |
</h3>
|
| 80 |
+
<div className="space-y-1.5 max-h-[400px] overflow-y-auto overflow-x-hidden">
|
| 81 |
{allModels.map((m) => {
|
| 82 |
const isSelected = models.includes(m.id)
|
| 83 |
return (
|