From cd660d374adc9394aaeea22d5d41b29535d8a4c2 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 17 Aug 2019 22:04:31 +0200 Subject: Fix hashtag autosuggestions line breaks for long suggestions (#11588) --- app/javascript/styles/mastodon/components.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'app') diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 6264c3df8..59d1d59f3 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -503,9 +503,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; + } } .autosuggest-account-icon, -- cgit