Skip to content

Commit 24cdb2a

Browse files
Gargronhiyuki2578
authored andcommitted
Fix hashtag autosuggestions line breaks for long suggestions (mastodon#11588)
1 parent 00c733f commit 24cdb2a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

app/javascript/styles/mastodon/components.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,21 @@
503503
.autosuggest-hashtag {
504504
justify-content: space-between;
505505

506+
&__name {
507+
flex: 1 1 auto;
508+
overflow: hidden;
509+
text-overflow: ellipsis;
510+
}
511+
506512
strong {
507513
font-weight: 500;
508514
}
515+
516+
&__uses {
517+
flex: 0 0 auto;
518+
width: 80px;
519+
text-align: right;
520+
}
509521
}
510522

511523
.autosuggest-account-icon,

0 commit comments

Comments
 (0)