about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-05 06:14:06 +0200
committerThibaut Girka <thib@sitedethib.com>2019-09-05 14:14:42 +0200
commit4434e2eb7f9942b44561c2f7702af3ed3854b8db (patch)
treeddf1c32803022cb200087a8c4c6818612ca76d3b /app/javascript/flavours/glitch/styles
parentbd0bde1da2279b21b10c10a9ddbee6ea49282c28 (diff)
[Glitch] Fix line breaks in hashtag autosuggestions in web UI
Port 7db2c2e2ba049845bdfdbf9931ffae6ae5ccddd3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r--app/javascript/flavours/glitch/styles/components/composer.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/composer.scss b/app/javascript/flavours/glitch/styles/components/composer.scss
index c3d51e4f9..656615f4f 100644
--- a/app/javascript/flavours/glitch/styles/components/composer.scss
+++ b/app/javascript/flavours/glitch/styles/components/composer.scss
@@ -353,6 +353,7 @@
       flex: 1 1 auto;
       overflow: hidden;
       text-overflow: ellipsis;
+      white-space: nowrap;
     }
 
     strong {
@@ -361,8 +362,10 @@
 
     &__uses {
       flex: 0 0 auto;
-      width: 80px;
       text-align: right;
+      overflow: hidden;
+      text-overflow: ellipsis;
+      white-space: nowrap;
     }
   }