fix(confidence-engine): align portfolio report freshness layout

This commit is contained in:
2026-09-03 16:41:18 +01:00
parent ede5d54e36
commit 2df026d024
+4 -4
View File
@@ -42,9 +42,9 @@ function Portfolio() {
{existing.scenario || "Untitled investigation"} {existing.scenario || "Untitled investigation"}
</p> </p>
<div className="mt-4 flex gap-3 text-sm"> <div className="mt-4 flex items-start gap-3 text-sm">
{hasReport ? ( {hasReport ? (
<div className="flex flex-col gap-1 items-center"> <div className="flex flex-col gap-1">
<Link <Link
href={`/investigations/${INVESTIGATION_ID}/report`} href={`/investigations/${INVESTIGATION_ID}/report`}
className="rounded-lg border border-teal-600 bg-white px-4 py-2 font-medium text-teal-700 hover:bg-teal-50 transition" className="rounded-lg border border-teal-600 bg-white px-4 py-2 font-medium text-teal-700 hover:bg-teal-50 transition"
@@ -66,14 +66,14 @@ function Portfolio() {
<Link <Link
href={`/investigations/${INVESTIGATION_ID}`} href={`/investigations/${INVESTIGATION_ID}`}
className="rounded-lg border border-teal-600 bg-white px-4 py-2 font-medium text-teal-700 hover:bg-teal-50 transition" className="self-start rounded-lg border border-teal-600 bg-white px-4 py-2 font-medium text-teal-700 hover:bg-teal-50 transition"
> >
Continue investigation Continue investigation
</Link> </Link>
<button <button
onClick={() => setShowRestartConfirm(true)} onClick={() => setShowRestartConfirm(true)}
className="rounded-lg border border-red-400 bg-white px-4 py-2 font-medium text-red-700 hover:bg-red-50 transition" className="self-start rounded-lg border border-red-400 bg-white px-4 py-2 font-medium text-red-700 hover:bg-red-50 transition"
> >
Restart investigation Restart investigation
</button> </button>