Skip to content

Improve readability of CSS selectors#5454

Merged
ethanpalm merged 6 commits intomainfrom
css-selectors
Apr 20, 2026
Merged

Improve readability of CSS selectors#5454
ethanpalm merged 6 commits intomainfrom
css-selectors

Conversation

@ethanpalm
Copy link
Copy Markdown
Collaborator

@ethanpalm ethanpalm commented Apr 20, 2026

Documentation changes

This PR improves descriptions and organization of ID and element selectors


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Documentation-only changes that restructure and expand selector lists; low risk aside from potential inaccuracies if any selector names/descriptions are wrong.

Overview
Improves the Custom scripts docs by rewriting and reorganizing the CSS targeting reference into clearer sections for ID selectors vs element selectors, with usage guidance and a caution note about selector stability.

Replaces the previous mixed identifier/selector list with categorized accordions (layout, navigation, API reference, assistant, etc.), expands coverage (e.g., mobile nav, localization, multi-view, 404/directory components), and cleans up the data-attribute selector examples/descriptions.

Reviewed by Cursor Bugbot for commit f6e661f. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify-development
Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 20, 2026, 6:42 PM

@mintlify-development
Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 20, 2026, 6:42 PM

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 20, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 20, 2026, 6:45 PM

@ethanpalm ethanpalm merged commit 9ee3087 into main Apr 20, 2026
6 checks passed
@ethanpalm ethanpalm deleted the css-selectors branch April 20, 2026 18:47
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