Skip to content

Fix Codex++ daily token usage alignment#31

Open
ziyue67 wants to merge 1 commit into
BigPizzaV3:mainfrom
ziyue67:fix/daily-token-usage-codexpp-alignment
Open

Fix Codex++ daily token usage alignment#31
ziyue67 wants to merge 1 commit into
BigPizzaV3:mainfrom
ziyue67:fix/daily-token-usage-codexpp-alignment

Conversation

@ziyue67

@ziyue67 ziyue67 commented Jun 21, 2026

Copy link
Copy Markdown

Summary

  • Keep the daily token usage widget in a fixed Codex++-safe top-right position.
  • Set the floating offset to right: 280px so it does not cover the Codex++ version label/window controls.
  • Clamp the panel position to the viewport and avoid the right-side window button area.
  • Match the Codex++ aligned market script interaction behavior by only enabling pointer events on the trigger.

Test

  • node --check scripts/codex-daily-token-usage.js

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