Skip to content

Remove marginBottom from sidebar container#2

Merged
stevejkang merged 1 commit into
mainfrom
fix/remove-margin-bottom
May 11, 2026
Merged

Remove marginBottom from sidebar container#2
stevejkang merged 1 commit into
mainfrom
fix/remove-margin-bottom

Conversation

@stevejkang
Copy link
Copy Markdown
Owner

Summary

  • Remove marginBottom={1} from the outer <box> container in sidebar_content slot

Why

The tokscale plugin had marginBottom={1} on its outer container, while other sidebar plugins (opencode-claude-usage, opencode-openai-usage, opencode-now-playing) do not use marginBottom — they rely on the framework-provided slot spacing.

This caused the gap between tokscale and the next plugin (e.g. Claude Usage) to be visibly larger than gaps between other plugins.

The outer container had marginBottom={1} which added an extra blank line below the tokscale section. Other sidebar plugins (claude-usage, openai-usage, now-playing) do not use marginBottom, relying instead on the framework-provided slot spacing. This caused an inconsistent gap between tokscale and the next plugin compared to gaps between other plugins.
@stevejkang stevejkang merged commit 364b0fc into main May 11, 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.

1 participant