Skip to content

docs: mention copy button and fade overlay CSS hooks on Format code page - #7004

Closed
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/534caf0c
Closed

docs: mention copy button and fade overlay CSS hooks on Format code page#7004
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/534caf0c

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Documentation changes

Adds pointers on /create/code to the new code-block-copy-button and code-block-fade-overlay element selectors so readers configuring code blocks can find the CSS hooks (already documented in the selector reference by #7003).

  • In "Code blocks", note that the copy button can be styled or hidden via code-block-copy-button, with the display: none; example.
  • In "Expandable", note the collapsed-state fade overlay can be styled via code-block-fade-overlay.

Both link to the element selectors section of customize/custom-scripts.

Closes


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

Generated by Mintlify Agent.

Requested by: ethan@mintlify.com via Slack
Mintlify session: slack_1786996877.907599_C04V261AH2T


Note

Low Risk
Documentation-only cross-links on the Format code page; no product or runtime behavior changes.

Overview
Updates create/code.mdx so readers configuring code blocks see the same CSS hooks that customize/custom-scripts already lists.

Under Code blocks, it adds a note that the copy button can be styled or hidden via the code-block-copy-button element selector, with a display: none example and a link to the element selectors section.

Under Expandable, it extends the existing expandable description to mention the collapsed-state fade overlay and how to style it with code-block-fade-overlay, again linking to element selectors.

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

@mintlify

mintlify Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated (UTC)
mintlify 🟡 Building Aug 17, 2026, 8:16 PM

@mintlify

mintlify Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated (UTC)
tomee 🟡 Building Aug 17, 2026, 8:16 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@ethanpalm ethanpalm closed this Aug 17, 2026
@ethanpalm
ethanpalm deleted the mintlify/534caf0c branch August 17, 2026 20:16
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