Skip to content

Conversation

@GODrums
Copy link
Collaborator

@GODrums GODrums commented Nov 20, 2025

Closes #358.

Valve reworked some components on the site in React with a CSS pre-compiler, which generates random class names.

This PR switches to an alternative approach of determining the correct position to minimize the reliance on class names.


Note

Switches SelectedItemInfo injection points to robust :has-based selectors targeting CS2 item info containers.

  • Inventory UI:
    • Update @InjectAfter selectors in src/lib/components/inventory/selected_item_info.ts from class-based paths to :has(...) selectors targeting div#iteminfo0/div#iteminfo1 with CS2 app link images, ensuring correct injection location.

Written by Cursor Bugbot for commit d06eeea. Configure here.

@GODrums GODrums requested a review from Step7750 November 20, 2025 14:46
@GODrums GODrums self-assigned this Nov 20, 2025
@GODrums GODrums added the bug label Nov 20, 2025
@Step7750 Step7750 merged commit a8a9d26 into master Nov 20, 2025
3 checks passed
@Step7750 Step7750 deleted the fix/selector-inventory-item-container branch November 20, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Float No Longer Injecting in Inventory Card

3 participants