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 line wrapping of language selection button with long locale codes #27100

Merged
merged 1 commit into from Sep 25, 2023

Conversation

gunchleoc
Copy link
Contributor

Fixes #26967 and #19302

Copy link
Contributor

@ClearlyClaire ClearlyClaire left a comment

Choose a reason for hiding this comment

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

Looks good, but this will still leave an issue where the button's bounding box is smaller than its text contents.

Maybe that can be fixed by using max-width rather than width for the computed button width.

@ClearlyClaire ClearlyClaire merged commit 88fa8e7 into mastodon:main Sep 25, 2023
31 checks passed
@gunchleoc gunchleoc deleted the 26967-locale-code-wrap branch September 26, 2023 17:53
000hen pushed a commit to thenapnetwork/nap-mastodon that referenced this pull request Dec 6, 2023
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.

Post language button wrapped into two lines when zh-CN/HK/TW/YUE was selected
2 participants