Repository navigation
Fixed the TRMNL X overflowing the live preview - #294
Merged
Merged
Conversation
The HTML preview in trmnlp serve has drawn a scaled device at its pixel ratio since 0.16.0, which dropped the picker's screen--1x class. The preview frame has the device's CSS size, so a TRMNL X drew 1872 pixels wide in a 1040 pixel frame. #284 pinned that size in a spec. The live preview now keeps --pixel-ratio at 1. Scripts still measure the same layout, so the table limit and clamp specs from #284 pass unchanged. PNG renders and trmnlp test do not use this path. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ikraamg
added a commit
that referenced
this pull request
Oct 15, 2026
Releases the boolean fields and option screens of the publishable recipe (#292), and the TRMNL X fitting the live preview again (#294). The minor version moves because option_screens is a new argument the core recipe review passes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ikraamg
added a commit
that referenced
this pull request
Oct 15, 2026
Releases the boolean fields and option screens of the publishable recipe (#292), and the TRMNL X fitting the live preview again (#294). The minor version moves because option_screens is a new argument the core recipe review passes. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The HTML preview in
trmnlp servedraws scaled devices at their CSS size again, so the TRMNL X fits its 1040 by 780 frame instead of drawing 1872 by 1404. Broken since 0.16.0. Reported on Discord by pmishra.--pixel-ratioat 1 in the live preview only; PNG renders andtrmnlp testare unchanged🤖 Generated with Claude Code