diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-17 22:04:31 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-09-02 10:57:44 +0200 |
commit | 717f3998c0e97794730a75228de33dc01b37bbe1 (patch) | |
tree | eb7656d70b1c173c074909a3a9362326f3586a9d /app/javascript/flavours | |
parent | 771b01e78520d488e2fa4a6d79ff6622334149c3 (diff) |
[Glitch] Fix hashtag autosuggestions line breaks for long suggestions
Port cd660d374adc9394aaeea22d5d41b29535d8a4c2 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/composer.scss | 12 |
1 files changed, 12 insertions, 0 deletions
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 { |