Skip to content

fix(prompts): don't show the fold hover on Plan & usage while the pointer is on its link #1382

Closed

Description

@cihan-gyk

Description

On Prompts › Tracked, the "Plan & usage" bar folds and unfolds the usage cards. It also holds a link to the plan page. While the pointer is on that link, the bar still shows its hover background and the Show button underlines, so it looks as if a click will fold the cards. In fact the link only opens its page.

The two classes are in _usage-cards.tsx: the bar's hover:bg-muted/50 and the button's group-hover:underline (around lines 276 and 317 at the time of writing).

Proposed behavior

While the pointer is on the link, the bar shows no hover background and Show/Hide isn't underlined. Hovering anywhere else on the bar works as today.

Suggested approach

Add has-[a:hover]:bg-transparent to the bar and group-has-[a:hover]:no-underline to the Show/Hide button. Check both light and dark themes.

Run yarn format && yarn lint && yarn typecheck && yarn test from web/ before opening the PR. See CONTRIBUTING.md.

Activity

  1. added a commit that references this issue on Oct 23, 2026
    2e9bcd6
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