summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Vote.php1
-rw-r--r--resources/style.css4
2 files changed, 5 insertions, 0 deletions
diff --git a/Vote.php b/Vote.php
index 0429a91..ffedcba 100644
--- a/Vote.php
+++ b/Vote.php
@@ -208,6 +208,7 @@ class VoteHooks {
'rows' => 3,
'label' => wfMessage('vote-comment')->inLanguage($parser->getTargetLanguage()),
'disabled' => $previewMode,
+ 'cssclass' => 'vote-comment-textarea',
],
'page' => [
'type' => 'hidden',
diff --git a/resources/style.css b/resources/style.css
index a9ded0f..b602633 100644
--- a/resources/style.css
+++ b/resources/style.css
@@ -1,3 +1,7 @@
.uncounted-vote {
color: #777;
}
+
+.vote-comment-textarea {
+ max-width: 100%; /* fix for MobileFrontend */
+}