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"}
</p>
<div className="mt-4 flex gap-3 text-sm">
<div className="mt-4 flex items-start gap-3 text-sm">
{hasReport ? (
<div className="flex flex-col gap-1 items-center">
<div className="flex flex-col gap-1">
<Link
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"
@@ -66,14 +66,14 @@ function Portfolio() {
<Link
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
</Link>
<button
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
</button>