Skip to content

[FIX] Remove all padding/margin from token-meter sidebar boxes #37

Description

@four-bytes-robby

Goal

Remove all padding and margin from every box in the token-meter sidebar so the layout is bare boxes with no spacing.

Context

Local inspection of src/tui.tsx (commit c68d456) shows only one <box flexDirection="column"> wrapper with no padding/margin props. The visible padding comes from the <TokenMeter> component in @four-bytes/opencode-plugin-lib/tui-components (external dependency), not from this file.

Blocked

Cannot proceed from src/tui.tsx alone — the padding lives in the shared component. Need decision on:

  • Option A: edit TokenMeter.tsx in @four-bytes/opencode-plugin-lib (affects all consumers)
  • Option B: pass padding={0} / margin={0} props through <TokenMeter tokens softLimit colors />
  • Option C: wrap the meter in local overrides here

Wave Ref

  • wave_ref: P5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions