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 trending counter width #11569

Merged
merged 1 commit into from
Aug 15, 2019
Merged

Fix trending counter width #11569

merged 1 commit into from
Aug 15, 2019

Conversation

brawaru
Copy link
Contributor

@brawaru brawaru commented Aug 15, 2019

Trending counter used to be constant 100px in width, which caused
issues in languages like Russian, where because of that, "talking"
text was cut to the size where actual count is not visible at all:

6 people talking
Популярно у...

Trending counter used to be constant 100px in width, which caused
issues in languages like Russian, where because of that, "talking"
text was cut to the size where actual count is not visible at all:

> 6 people talking
> Популярно у...
@brawaru
Copy link
Contributor Author

brawaru commented Aug 15, 2019

Hope did everything right 😟

Screenshots for reference:

Before After
Screenshot_20190815_092935 Screenshot_20190815_093041

Tested with Firefox:

CSS changes
.trends__item__current {
- width: 100px;
+ margin-left: 5px;
}

@Gargron Gargron merged commit a5a5a0a into mastodon:master Aug 15, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
Trending counter used to be constant 100px in width, which caused
issues in languages like Russian, where because of that, "talking"
text was cut to the size where actual count is not visible at all:

> 6 people talking
> Популярно у...
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.

None yet

3 participants