diff --git a/web/src/routes/finding/Reading.tsx b/web/src/routes/finding/Reading.tsx index 61d8e61d..ec00667c 100644 --- a/web/src/routes/finding/Reading.tsx +++ b/web/src/routes/finding/Reading.tsx @@ -175,19 +175,23 @@ function SimulationStrip({ repo, f }: { repo: RepoBundle; f: Finding }) { const kind = sim?.kind ?? "not-simulated"; const shown = fix !== null && sim !== null && kind !== "not-simulated" && kind !== "nothing-changed"; + const showLine = fix === null || kind !== "not-simulated"; const mapBase = repoPath(repo.id, "map"); return (
-

- Simulation - - {fix ? SIMULATION[kind].long : NO_FIX_TEXT} - - -

-
+ {showLine && ( +

+ Simulation + + {fix ? SIMULATION[kind].long : NO_FIX_TEXT} + + +

+ )} + {/* ml-auto keeps the buttons on the right when the line is hidden */} +