[Glitch] Fix display of long poll options

Port cf2b708e6b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
ThibG 5 years ago committed by Thibaut Girka
parent ef8c311a66
commit eaf49439d1
  1. 8
      app/javascript/flavours/glitch/styles/polls.scss

@ -11,7 +11,6 @@
li { li {
margin-bottom: 10px; margin-bottom: 10px;
position: relative; position: relative;
height: 18px + 12px;
} }
&__chart { &__chart {
@ -30,13 +29,11 @@
&__text { &__text {
position: relative; position: relative;
display: inline-block; display: flex;
padding: 6px 0; padding: 6px 0;
line-height: 18px; line-height: 18px;
cursor: default; cursor: default;
white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis;
input[type=radio], input[type=radio],
input[type=checkbox] { input[type=checkbox] {
@ -106,6 +103,9 @@
font-weight: 700; font-weight: 700;
padding: 0 10px; padding: 0 10px;
text-align: right; text-align: right;
margin-top: auto;
margin-bottom: auto;
flex: 0 0 36px;
} }
&__footer { &__footer {

Loading…
Cancel
Save