about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2019-08-16 01:20:02 +0700
committerEugen Rochko <eugen@zeonfederated.com>2019-08-15 20:20:02 +0200
commita5a5a0adec08082a1d527a2f848dc9b0ababf253 (patch)
tree3a068895993b0cffcf97e2af1ff9a175fc37dfe4 /app
parentdfe60598899738250fc707db91048b871ab09282 (diff)
Fix trending counter width (#11569)
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
> Популярно у...
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/components.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 893be9095..7f0bf9fed 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -6059,12 +6059,12 @@ noscript {
 
     &__current {
       flex: 0 0 auto;
-      width: 100px;
       font-size: 24px;
       line-height: 36px;
       font-weight: 500;
       text-align: right;
       padding-right: 15px;
+      margin-left: 5px;
       color: $secondary-text-color;
     }