Feature/product platform foundation v0.62 #1
@@ -268,17 +268,19 @@ function InvestigationHistory({ turns }) {
|
||||
|
||||
// ── Original situation (always-visible reference card) ────────
|
||||
function OriginalSituation({ scenario, centralStatement }) {
|
||||
if (!scenario) return null;
|
||||
const text = scenario || centralStatement;
|
||||
|
||||
if (!text) return null;
|
||||
|
||||
return (
|
||||
<div className="rounded-lg border border-gray-200 bg-gray-50/70 px-5 py-4">
|
||||
<h2 className="mb-2 text-xs font-bold uppercase tracking-widest text-gray-400">
|
||||
Original situation
|
||||
</h2>
|
||||
{centralStatement && (
|
||||
<p className="mb-1 text-xs text-gray-400">{centralStatement}</p>
|
||||
)}
|
||||
<p className="whitespace-pre-wrap text-sm leading-relaxed text-gray-700">{scenario}</p>
|
||||
|
||||
<p className="whitespace-pre-wrap text-sm leading-relaxed text-gray-700">
|
||||
{text}
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user