about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-05-28 19:12:53 +0200
committerGitHub <noreply@github.com>2018-05-28 19:12:53 +0200
commit04a2cf8bcc7ab5878b29ee60af41dd661a6e19eb (patch)
tree7ffea87b41cbed85c323a6af183af5c535d39635 /app
parentb0b34a5e381c8dd97abd69d817a8b82d3019085b (diff)
Fix incomplete flex style on trends items (#7655)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/components.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index c66bc427c..a2a18b5a0 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -5259,6 +5259,9 @@ noscript {
         font-size: 14px;
         font-weight: 500;
         display: block;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
 
         &:hover,
         &:focus,
@@ -5271,6 +5274,7 @@ noscript {
     }
 
     &__current {
+      flex: 0 0 auto;
       width: 100px;
       font-size: 24px;
       line-height: 36px;
@@ -5280,6 +5284,7 @@ noscript {
     }
 
     &__sparkline {
+      flex: 0 0 auto;
       width: 50px;
 
       path {