Skip to content

Commit

Permalink
preserve whitespace for stdout and stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
onursumer committed Dec 30, 2024
1 parent 22e804f commit 91012d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
font-size: 1.5em;
color: rgb(6, 71, 133);
}

.stdout {
white-space: pre-wrap;
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ export function EventDetails(props: EventDetailsProps) {
/>
<DetailsRow
title={<strong>stdout:</strong>}
value={event.output?.stdout}
value={<span className={styles.stdout}>{event.output?.stdout}</span>}
/>
<DetailsRow
title={<strong>stderr:</strong>}
value={event.output?.stderr}
value={<span className={styles.stdout}>{event.output?.stderr}</span>}
/>
</Container>
) : null;
Expand Down

0 comments on commit 91012d1

Please sign in to comment.