about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-09-13 16:04:09 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-09-13 16:04:09 +0200
commitcf2b708e6bf46db592199b757db9747005f6984d (patch)
treedb034debc716ddf8ea7897d2f42fb9f5eb25b41f
parent225edac118634b146c1bbf45f199d8a1257bcf56 (diff)
Fix display of long poll options (#11717)
-rw-r--r--app/javascript/styles/mastodon/polls.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss
index 12f57b7a9..8b131dffd 100644
--- a/app/javascript/styles/mastodon/polls.scss
+++ b/app/javascript/styles/mastodon/polls.scss
@@ -5,7 +5,6 @@
   li {
     margin-bottom: 10px;
     position: relative;
-    height: 18px + 12px;
   }
 
   &__chart {
@@ -24,13 +23,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] {
@@ -99,6 +96,9 @@
     font-weight: 700;
     padding: 0 10px;
     text-align: right;
+    margin-top: auto;
+    margin-bottom: auto;
+    flex: 0 0 36px;
   }
 
   &__footer {