]> cat aescling's git repositories - mastodon.git/commitdiff
Fix incomplete flex style on trends items (#7655)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 28 May 2018 17:12:53 +0000 (19:12 +0200)
committerGitHub <noreply@github.com>
Mon, 28 May 2018 17:12:53 +0000 (19:12 +0200)
app/javascript/styles/mastodon/components.scss

index c66bc427c03015763211f7d386aedda121b5f7ae..a2a18b5a0a4ab41a9d14beeca32fdde88299d20e 100644 (file)
@@ -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 {