]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix display of long poll options
authorThibG <thib@sitedethib.com>
Fri, 13 Sep 2019 14:04:09 +0000 (16:04 +0200)
committerThibaut Girka <thib@sitedethib.com>
Fri, 13 Sep 2019 16:36:22 +0000 (18:36 +0200)
Port cf2b708e6bf46db592199b757db9747005f6984d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/polls.scss

index 5261f17f49267a96054ee285ab12720f7fd4f8b9..6051ef45db1da77fc10ecbb4ec536dea9f1c0f44 100644 (file)
@@ -11,7 +11,6 @@
   li {
     margin-bottom: 10px;
     position: relative;
-    height: 18px + 12px;
   }
 
   &__chart {
 
   &__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] {
     font-weight: 700;
     padding: 0 10px;
     text-align: right;
+    margin-top: auto;
+    margin-bottom: auto;
+    flex: 0 0 36px;
   }
 
   &__footer {