]> cat aescling's git repositories - mastodon.git/commitdiff
Fix hashtag autosuggestions line breaks for long suggestions (#11588)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 17 Aug 2019 20:04:31 +0000 (22:04 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2019 20:04:31 +0000 (22:04 +0200)
app/javascript/styles/mastodon/components.scss

index 6264c3df8111272f2767c834e33552d765612f5f..59d1d59f3bb7db546ec2ec264da1dd000d54d138 100644 (file)
   .autosuggest-hashtag {
     justify-content: space-between;
 
+    &__name {
+      flex: 1 1 auto;
+      overflow: hidden;
+      text-overflow: ellipsis;
+    }
+
     strong {
       font-weight: 500;
     }
+
+    &__uses {
+      flex: 0 0 auto;
+      width: 80px;
+      text-align: right;
+    }
   }
 
   .autosuggest-account-icon,