Skip to content

fix: align viewport right border with status block#132

Merged
sethrylan merged 5 commits intomainfrom
fix/viewport-border-alignment
Feb 24, 2026
Merged

fix: align viewport right border with status block#132
sethrylan merged 5 commits intomainfrom
fix/viewport-border-alignment

Conversation

@sethrylan
Copy link
Copy Markdown
Owner

The bubbles/viewport component subtracts GetHorizontalFrameSize() (border + padding) from Width internally, causing its border to be 2 chars narrower than the status block rendered with plain lipgloss Width(). Adding GetHorizontalBorderSize() compensates for this.

The bubbles/viewport component subtracts GetHorizontalFrameSize()
(border + padding) from Width internally, causing its border to be
2 chars narrower than the status block rendered with plain lipgloss
Width(). Adding GetHorizontalBorderSize() compensates for this.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sethrylan sethrylan self-assigned this Feb 23, 2026
@sethrylan sethrylan marked this pull request as ready for review February 24, 2026 02:27
@sethrylan sethrylan closed this Feb 24, 2026
@sethrylan sethrylan reopened this Feb 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🎬 Demo

demo

Generated by workflow run.

Run gh workflow run demo.yml -R sethrylan/readis -f pr_number=132 to regenerate.

@sethrylan sethrylan enabled auto-merge (squash) February 24, 2026 02:45
@sethrylan sethrylan merged commit d5fd50a into main Feb 24, 2026
8 checks passed
@sethrylan sethrylan deleted the fix/viewport-border-alignment branch February 24, 2026 02:46
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