]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix hashtag autosuggestions line breaks for long suggestions
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 17 Aug 2019 20:04:31 +0000 (22:04 +0200)
committerThibG <thib@sitedethib.com>
Mon, 2 Sep 2019 08:57:44 +0000 (10:57 +0200)
Port cd660d374adc9394aaeea22d5d41b29535d8a4c2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/components/composer.scss

index 9e610bac46d3f734c570eeb062b7afd7b794f68e..c3d51e4f99ccf7f4396a80923e0d0178b49ddf81 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;
+    }
   }
 
   & > .account.small {