Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/rovo-dev/ui/RovoDev.css
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,10 @@ body {
padding: 8px;
}

#prompt-settings-context {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Code Bugs

Consider using a class selector instead of an ID selector since PromptSettingsItem component can be rendered multiple times, creating duplicate IDs which violates HTML standards.

Details

📖 Explanation: The #prompt-settings-context ID is used in the PromptSettingsItem component which gets rendered multiple times (for Plan, Full-Context mode, and YOLO settings), creating duplicate IDs in the DOM. This violates HTML specifications where IDs should be unique, and could cause unexpected behavior with CSS selectors and JavaScript.

Uses AI. Verify results. Give Feedback

flex: 1;
}

.prompt-settings-action {
--ds-icon-inverse: var(--vscode-sideBar-background);
}
Expand Down
Loading