diff --git a/js/src/forum/components/Poll.tsx b/js/src/forum/components/Poll.tsx index e906c996..3cfd9fa4 100644 --- a/js/src/forum/components/Poll.tsx +++ b/js/src/forum/components/Poll.tsx @@ -15,8 +15,8 @@ export default class IndexPolls extends Component {
- - + +
diff --git a/js/src/forum/components/Poll/PollOptions.tsx b/js/src/forum/components/Poll/PollOptions.tsx index 502ed4d5..d1fd4e1d 100644 --- a/js/src/forum/components/Poll/PollOptions.tsx +++ b/js/src/forum/components/Poll/PollOptions.tsx @@ -14,11 +14,12 @@ export default class PollOptions extends Component { const items = new ItemList(); items.add('test1', ); - items.add('test5', ); items.add('test2', ); items.add('test3', ); items.add('test4', ); + items.add('test5', ); + return items; } } diff --git a/resources/less/forum.less b/resources/less/forum.less index 5e78be51..3c229e83 100755 --- a/resources/less/forum.less +++ b/resources/less/forum.less @@ -451,9 +451,10 @@ accent-color: var(--poll-option-accent-color); } -.PollResults-input { +.PollResult-input { pointer-events: none; } + .PollOption-information { display: flex; margin-left: 10px;