[Glitch] Fix hashtag autosuggestions line breaks for long suggestions

Port cd660d374a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
rebase/4.0.0rc2
Eugen Rochko 2019-08-17 22:04:31 +02:00 committed by ThibG
parent 771b01e785
commit 717f3998c0
1 changed files with 12 additions and 0 deletions

View File

@ -349,9 +349,21 @@
.autosuggest-hashtag { .autosuggest-hashtag {
justify-content: space-between; justify-content: space-between;
&__name {
flex: 1 1 auto;
overflow: hidden;
text-overflow: ellipsis;
}
strong { strong {
font-weight: 500; font-weight: 500;
} }
&__uses {
flex: 0 0 auto;
width: 80px;
text-align: right;
}
} }
& > .account.small { & > .account.small {