From eaf49439d139558506c83b7160342b388a2ad59f Mon Sep 17 00:00:00 2001 From: ThibG Date: Fri, 13 Sep 2019 16:04:09 +0200 Subject: [PATCH] [Glitch] Fix display of long poll options Port cf2b708e6bf46db592199b757db9747005f6984d to glitch-soc Signed-off-by: Thibaut Girka --- app/javascript/flavours/glitch/styles/polls.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss index 5261f17f492..6051ef45db1 100644 --- a/app/javascript/flavours/glitch/styles/polls.scss +++ b/app/javascript/flavours/glitch/styles/polls.scss @@ -11,7 +11,6 @@ li { margin-bottom: 10px; position: relative; - height: 18px + 12px; } &__chart { @@ -30,13 +29,11 @@ &__text { position: relative; - display: inline-block; + display: flex; padding: 6px 0; line-height: 18px; cursor: default; - white-space: nowrap; overflow: hidden; - text-overflow: ellipsis; input[type=radio], input[type=checkbox] { @@ -106,6 +103,9 @@ font-weight: 700; padding: 0 10px; text-align: right; + margin-top: auto; + margin-bottom: auto; + flex: 0 0 36px; } &__footer {