]> cat aescling's git repositories - mastodon.git/commitdiff
Avoid line breaks in poll options
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 6 Mar 2019 03:54:32 +0000 (04:54 +0100)
committerThibaut Girka <thib@sitedethib.com>
Wed, 6 Mar 2019 10:43:14 +0000 (11:43 +0100)
Port 57643557b64bc1853c4aeb65fc652dac3467fa18 to glitch-soc

app/javascript/flavours/glitch/styles/polls.scss

index 7c6e61d6301b191d1bf6897d012da85e5a3ed34a..ce324b36ea8f53f0e15e1cc39affbcb8ead46181 100644 (file)
@@ -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] {