feat(capa-board): add scrollable columns for large case lists

Wrap status column items in max-h-96 overflow-y-auto container so that
columns with 30+ items scroll independently. Apply to all statuses
uniformly. Preserves board layout and header visibility.

bump: version 1.2.0 to 1.2.1
This commit is contained in:
2026-08-16 13:59:40 +08:00
parent ed70fedf89
commit e48620431a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ export function CapaBoard({ capas }: Props) {
<h3 className="text-xs font-semibold uppercase tracking-wide text-gray-600 mb-3"> <h3 className="text-xs font-semibold uppercase tracking-wide text-gray-600 mb-3">
{STATUS_LABELS[status]} ({byStatus[status].length}) {STATUS_LABELS[status]} ({byStatus[status].length})
</h3> </h3>
<div className="space-y-2"> <div className="space-y-2 max-h-96 overflow-y-auto pr-2">
{byStatus[status].map(c => ( {byStatus[status].map(c => (
<Link key={c.id} href={`/hse/capa/${c.id}`} <Link key={c.id} href={`/hse/capa/${c.id}`}
className="block bg-white rounded-lg p-3 shadow-sm hover:shadow-md transition-shadow border border-gray-100"> className="block bg-white rounded-lg p-3 shadow-sm hover:shadow-md transition-shadow border border-gray-100">
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "ims-app", "name": "ims-app",
"version": "1.2.0", "version": "1.2.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",