Skip to content

Fix broken copy to clipboard widgets #20137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix broken copy to clipboard widgets #20137

wants to merge 1 commit into from

Conversation

jhlodin
Copy link
Contributor

@jhlodin jhlodin commented Aug 15, 2025

https://cockroachlabs.atlassian.net/browse/DOC-14408

Found a simple fix for an issue that caused the copy to clipboard widget to sit outside of its corresponding code snippet, rendering it non-functional, specifically in cases where the code snippet was embedded inside of a liquid include. The added whitespace appears to resolve the issue without affecting rendering.

Before:
Screenshot 2025-08-15 at 4 46 40 PM

After:
Screenshot 2025-08-15 at 4 46 54 PM

Copy link

github-actions bot commented Aug 15, 2025

Files changed:

Copy link

netlify bot commented Aug 15, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 09b9c4d
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/689f9e442ba34600080df067

Copy link

netlify bot commented Aug 15, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 09b9c4d
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/689f9e442d6c56000862070e

Copy link

netlify bot commented Aug 15, 2025

Netlify Preview

Name Link
🔨 Latest commit fdb454a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/689f9d2a0b54b40008d3a9b9
😎 Deploy Preview https://deploy-preview-20137--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@florence-crl florence-crl self-requested a review August 15, 2025 21:00
Copy link

netlify bot commented Aug 15, 2025

Netlify Preview

Name Link
🔨 Latest commit 09b9c4d
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/689f9e443ad27e0008f67002
😎 Deploy Preview https://deploy-preview-20137--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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