fix: prevent line breaks in table identifier columns - #3001
Merged
Merged
Conversation
Inline code in the first column of a docs table (tool names, environment variables, fields) was breaking at hyphens, so entries like `fetch-actor-details` rendered across two lines in narrow columns. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkicoRz9Mx8ZxRxB14w3ye
Contributor
|
🗑️ Preview for this PR was deleted. |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused CSS change matches the stated behavior without affecting prose wrapping.
Review effort: Lite
Findings: None
What changed in this PR
Updates the shared docs theme so inline code in table identifier columns stays on one line.
Changes:
- Adds
white-space: nowrapfor code in first-column table cells.
| File | Description |
|---|---|
apify-docs-theme/src/theme/custom.css |
Prevents identifier wrapping in table columns. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
`call-actor` and `get-actor-output` carried a footnote marker, but the page has no footnote to go with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkicoRz9Mx8ZxRxB14w3ye
The category names are values you pass to the `tools` parameter, so they read as code like the tool names next to them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkicoRz9Mx8ZxRxB14w3ye
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prevent inline code in the first column of tables from wrapping at hyphens. Identifiers like tool names, environment variables, and field names now stay on a single line, while prose columns remain free to wrap naturally.
https://claude.ai/code/session_01VkicoRz9Mx8ZxRxB14w3ye