Skip to content

Prevent horizontal page scroll on long log lines#1266

Open
elemated wants to merge 1 commit intomoghtech:mainfrom
elemated:fix/action-log-horizontal-scroll
Open

Prevent horizontal page scroll on long log lines#1266
elemated wants to merge 1 commit intomoghtech:mainfrom
elemated:fix/action-log-horizontal-scroll

Conversation

@elemated
Copy link
Copy Markdown
Contributor

@elemated elemated commented Mar 25, 2026

Small update to add white-space: pre wrap to a few places where logs are converted to HTML. In cases where logs printed a long single line, the line wasn't breaking. Horizontal scrolling the entire page was required to see logs, which was not a pleasant user experience.

action/last-run.tsx

Before (image 1: haven't scrolled yet, image 2: scrolled all the way to the right)
Screenshot 2026-03-24 at 5 53 11 PM
Screenshot 2026-03-24 at 5 53 15 PM

After:
Screenshot 2026-03-24 at 4 10 12 PM

Was not able to test changes for build/info.tsx as I don't use that feature, but have attached screenshots for the updates/details.tsx changes below as well. I believe they should all behave similarly.

Before (image 1: haven't scrolled yet, image 2: scrolled all the way to the right)
Screenshot 2026-03-24 at 5 49 51 PM
Screenshot 2026-03-24 at 5 49 55 PM

After:
Screenshot 2026-03-24 at 5 40 16 PM

Add white-space: pre-wrap to Code component pre elements rendering
stdout/stderr in action last-run, update details, and build info views.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant