about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-05 06:14:06 +0200
committerGitHub <noreply@github.com>2019-09-05 06:14:06 +0200
commit7db2c2e2ba049845bdfdbf9931ffae6ae5ccddd3 (patch)
treef106f49d5165c595c96dc8e7d4250a1ca4560a87 /app
parent58755439ac758f173cf6c8afb49d62b450782d14 (diff)
Fix line breaks in hashtag autosuggestions in web UI (#11764)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/components.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index fde5e4c95..ef48d2438 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -507,6 +507,7 @@
       flex: 1 1 auto;
       overflow: hidden;
       text-overflow: ellipsis;
+      white-space: nowrap;
     }
 
     strong {
@@ -515,8 +516,10 @@
 
     &__uses {
       flex: 0 0 auto;
-      width: 80px;
       text-align: right;
+      overflow: hidden;
+      text-overflow: ellipsis;
+      white-space: nowrap;
     }
   }