From ea389145db4dba94372c2a32e754df501bdae78c Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Mon, 29 Jan 2024 16:26:30 +0100 Subject: [PATCH] chore: add dummy content for demo purposes --- js/src/forum/components/Poll.tsx | 4 ++-- js/src/forum/components/Poll/PollOptions.tsx | 3 ++- resources/less/forum.less | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) 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;