Skip to content

Add text-autospace CSS for CJK/Latin spacing#697

Merged
RiskeyL merged 2 commits intomainfrom
fix/add-autospace-css
Mar 6, 2026
Merged

Add text-autospace CSS for CJK/Latin spacing#697
RiskeyL merged 2 commits intomainfrom
fix/add-autospace-css

Conversation

@RiskeyL
Copy link
Copy Markdown
Contributor

@RiskeyL RiskeyL commented Mar 6, 2026

No description provided.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 6, 2026 04:05
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Mar 6, 2026
@dosubot dosubot bot added the enhancement New feature or request label Mar 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a text-autospace CSS rule to improve the visual spacing between CJK (Chinese, Japanese, Korean) characters and Latin/numeric characters across the Dify documentation site. This is a progressive enhancement that benefits the Chinese and Japanese language versions of the docs.

Changes:

  • Adds a new custom.css file with text-autospace: normal applied to the body element for automatic CJK/Latin spacing.
  • References the custom CSS file in docs.json via the "css" configuration field.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
custom.css New file with a single CSS rule enabling text-autospace: normal on the body element.
docs.json Adds "css": "custom.css" to link the custom stylesheet into the Mintlify site configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RiskeyL RiskeyL force-pushed the fix/add-autospace-css branch from 3e742a7 to e4b4d46 Compare March 6, 2026 04:20
@RiskeyL RiskeyL merged commit f84d7ab into main Mar 6, 2026
1 check passed
@RiskeyL RiskeyL deleted the fix/add-autospace-css branch March 16, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants