From: Eugen Rochko Date: Wed, 6 Mar 2019 03:54:32 +0000 (+0100) Subject: Avoid line breaks in poll options X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=94f1a751bf0313249d891e760dc758e621f1b9ad;p=mastodon.git Avoid line breaks in poll options Port 57643557b64bc1853c4aeb65fc652dac3467fa18 to glitch-soc --- 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] {