about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-06 04:54:32 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-06 11:43:14 +0100
commit94f1a751bf0313249d891e760dc758e621f1b9ad (patch)
tree76527d507e61a19b5c31d14fcb18cc838534287c /app
parent7f32d675b05b012a80c2b34c07d361ec8d596bf3 (diff)
Avoid line breaks in poll options
Port 57643557b64bc1853c4aeb65fc652dac3467fa18 to glitch-soc
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/styles/polls.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss
index 7c6e61d63..ce324b36e 100644
--- a/app/javascript/flavours/glitch/styles/polls.scss
+++ b/app/javascript/flavours/glitch/styles/polls.scss
@@ -5,6 +5,7 @@
   li {
     margin-bottom: 10px;
     position: relative;
+    height: 18px + 12px;
   }
 
   &__chart {
@@ -27,6 +28,9 @@
     padding: 6px 0;
     line-height: 18px;
     cursor: default;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
 
     input[type=radio],
     input[type=checkbox] {