Browse Source

Fix hashtag autosuggestions line breaks for long suggestions (#11588)

pull/4/head
Eugen Rochko 4 years ago
committed by GitHub
parent
commit
cd660d374a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      app/javascript/styles/mastodon/components.scss

+ 12
- 0
app/javascript/styles/mastodon/components.scss View File

@ -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,

Loading…
Cancel
Save