about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-06 04:54:32 +0100
committerGitHub <noreply@github.com>2019-03-06 04:54:32 +0100
commit57643557b64bc1853c4aeb65fc652dac3467fa18 (patch)
tree5a645090e4c3ccc4602b2694bcb2b015af17eae5 /app/javascript
parent5996be994d7a27ffb5075d663acf02dddc32ea7e (diff)
Avoid line breaks in poll options (#10188)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/polls.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss
index d86cef44c..4f8c94d83 100644
--- a/app/javascript/styles/mastodon/polls.scss
+++ b/app/javascript/styles/mastodon/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] {