Browse Source

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

master
Eugen Rochko 5 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 { .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;
}
} }
.autosuggest-account-icon, .autosuggest-account-icon,

Loading…
Cancel
Save