Skip to content

Fix duplicate Tailwind class and JSX class attribute in themes.mdx#5650

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/fix-themes-formatting-1777691882
Open

Fix duplicate Tailwind class and JSX class attribute in themes.mdx#5650
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/fix-themes-formatting-1777691882

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 2, 2026

Summary

Scanned all MDX files for spelling errors, grammatical mistakes, and broken formatting. Found two minor formatting issues, both in customize/themes.mdx.

Fixes

  • Duplicate Tailwind class: Removed redundant px-4 from the wrapper <div> (px-4 px-4px-4).
  • JSX attribute typo: Changed class= to className= on a description <div> inside the ThemeCard export. JSX requires className; using class is a formatting bug that React/MDX warns about.

Notes

No spelling errors, duplicate words, broken markdown syntax, unbalanced bold/italic markers, malformed links, or invalid frontmatter were found in the rest of the docs. Validated with mint broken-links (no broken links).


Note

Low Risk
Low risk documentation/MDX formatting fix; only changes CSS class strings and corrects a JSX attribute, with no behavioral or data-impacting logic.

Overview
Fixes minor formatting issues in customize/themes.mdx: replaces an invalid class attribute with className in ThemeCard, and removes a duplicated Tailwind utility (px-4 px-4 �� px-4) on the page wrapper to avoid redundant styling.

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

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 2, 2026

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview May 2, 2026, 3:43 AM

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.

0 participants