Skip to content
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

fix(css): fix upside-down rendering of CJK characters in translation #11922

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bangseongbeom
Copy link

Summary

Fixes #11921.

Problem

When I try to translate any MDN page to Korean using a browser translation tool, the characters on the browser compatibility table's header are reversed.

Solution

This is caused by the value of text-orientation for CJK characters being mixed (default). This PR fixes this by changing it to sideways.


Screenshots

Before

before

After

after


How did you test this change?

@bangseongbeom bangseongbeom requested a review from a team as a code owner October 8, 2024 05:44
@caugner
Copy link
Contributor

caugner commented Oct 9, 2024

@mdn/yari-content-ko Can you please take a look at this issue and the proposed solution? 🙏

Copy link
Member

@1ilsang 1ilsang left a comment

Choose a reason for hiding this comment

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

@bangseongbeom Hi, Thank you for your contribution!

I see the issue is resolved. Please fix the lint error.

Copy link
Member

@1ilsang 1ilsang left a comment

Choose a reason for hiding this comment

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

LGTM for ko.

@1ilsang
Copy link
Member

1ilsang commented Oct 27, 2024

@caugner Hi, Can you accept the PR?

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.

Upside-down rendering of CJK characters in translation
4 participants