Skip to content

Fix Layout Problem in the HTTP Logs Screen#2802

Merged
veloce merged 1 commit intolichess-org:mainfrom
r3econ:fix-http-logs-layout
Mar 20, 2026
Merged

Fix Layout Problem in the HTTP Logs Screen#2802
veloce merged 1 commit intolichess-org:mainfrom
r3econ:fix-http-logs-layout

Conversation

@r3econ
Copy link
Copy Markdown
Contributor

@r3econ r3econ commented Mar 19, 2026

Two changes:

  • maxLines: 1 — prevents the text from wrapping at all
  • _formatElapsed() — formats durations ≥ 1000ms as "1.0s" instead of "1000ms", so longer values also stay short

Before & After

SCR-20260319-tgqk-tile

Copy link
Copy Markdown
Contributor

@veloce veloce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@veloce veloce merged commit 7660ab0 into lichess-org:main Mar 20, 2026
1 check passed
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.

2 participants