Fix various issues in polls (#10165)

* Fix ActivityPub poll results being serialized even with hide_totals

* Fix poll refresh button having a different font size

* Display poll in OpenGraph description

* Fix NoMethodError when serializing votes

Regression from #10158

* Fix polls on public pages being broken for non-logged-in users

* Do not show time remaining if poll has no expiration date
This commit is contained in:
Eugen Rochko
2019-03-05 03:51:18 +01:00
committed by GitHub
parent 0a39c81dd8
commit a198add83b
6 changed files with 37 additions and 13 deletions

View File

@ -82,6 +82,7 @@
border: 0;
color: $dark-text-color;
text-decoration: underline;
font-size: inherit;
&:hover,
&:focus,