From 64597aee0f80e78dfa9538c4e708926af5133d5e Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Fri, 14 Jun 2024 12:10:03 +0200 Subject: [PATCH] Fix wall stream horizontally scrollable --- docs/CHANGELOG.md | 1 + widgets/views/_answer.php | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index de7ad3b..79526ab 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,7 @@ Changelog 1.3.5 (Unreleased) ---------------------- - Fix #129: Fix memory usage on integrity check +- Fix #136: Fix wall stream horizontally scrollable 1.3.4 (November, 10, 2023) -------------------------- diff --git a/widgets/views/_answer.php b/widgets/views/_answer.php index 28485df..888ad2f 100644 --- a/widgets/views/_answer.php +++ b/widgets/views/_answer.php @@ -16,7 +16,7 @@ $voteText = Yii::t('PollsModule.base', '{n,plural,=1{# {htmlTagBegin}vote{htmlTagEnd}}other{# {htmlTagBegin}votes{htmlTagEnd}}}', [ 'n' => $voteCount, 'htmlTagBegin' => '' + 'htmlTagEnd' => '', ]); $userlist = ''; // variable for users output @@ -34,9 +34,9 @@ } } ?> -
+
hasUserVoted() && !$poll->closed) : ?> -
+
allow_multiple) : ?> id . ']'); ?> @@ -45,7 +45,7 @@
-
+
answer) ?>
@@ -53,13 +53,13 @@
isShowResult()) : ?> -
+
anonymous && $voteCount ? Link::asLink($voteText, $contentContainer->createUrl('/polls/poll/user-list-results', [ - 'pollId' => $poll->id, - 'answerId' => $answer->id - ]))->options(['data-target' => '#globalModal']) + 'pollId' => $poll->id, + 'answerId' => $answer->id, + ]))->options(['data-target' => '#globalModal']) : $voteText ?>
-
\ No newline at end of file +