fix(tui): bottom-align the access join and share the helper-text indent - #26
Conversation
joinAccess used a literal two-space string as a JoinHorizontal argument, leaving the shorter pane's bottom ragged. A MarginLeft(2) style on the access pane keeps the gap without a spacer block. fields.note() indented to the label column while fields.hint() indented to the value column, so a screen using both had misaligned gray text. note() now uses the value column.
|
Warning Review limit reached
Next review available in: 17 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Two small polish fixes from the TUI review.
access.go —
joinAccessjoined the two panes with a literal" "element. That spacer is a one-line-tall block inside the horizontal join, so the shorter pane's bottom sat ragged. Moved the gap onto the access pane withMarginLeft(2)soJoinHorizontal(lipgloss.Top, …)aligns both to the top cleanly.fields.go — the gray
hintrendered at the value column whilenoterendered at the label column, so the two helper texts didn't line up. Movednoteto the value column to matchhint.just checkandjust testpass.