From: Eugen Rochko Date: Sat, 17 Aug 2019 20:04:31 +0000 (+0200) Subject: [Glitch] Fix hashtag autosuggestions line breaks for long suggestions X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=717f3998c0e97794730a75228de33dc01b37bbe1;p=mastodon.git [Glitch] Fix hashtag autosuggestions line breaks for long suggestions Port cd660d374adc9394aaeea22d5d41b29535d8a4c2 to glitch-soc Signed-off-by: Thibaut Girka --- diff --git a/app/javascript/flavours/glitch/styles/components/composer.scss b/app/javascript/flavours/glitch/styles/components/composer.scss index 9e610bac4..c3d51e4f9 100644 --- a/app/javascript/flavours/glitch/styles/components/composer.scss +++ b/app/javascript/flavours/glitch/styles/components/composer.scss @@ -349,9 +349,21 @@ .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 {