jenkins-bot has submitted this change and it was merged.

Change subject: (bug 56270) Fix reply form width
......................................................................


(bug 56270) Fix reply form width

* Adding container class to make sure the 50px right hand side is preserved
* Manually indenting 22px on the left

Bug: 56270
Change-Id: Iab7744e1c47425c2f31f39f0dd9f56bc97f1f126
---
M modules/discussion/styles/post.less
M templates/post.html.php
2 files changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Bsitu: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/discussion/styles/post.less 
b/modules/discussion/styles/post.less
index 578c29e..2978d99 100644
--- a/modules/discussion/styles/post.less
+++ b/modules/discussion/styles/post.less
@@ -203,6 +203,10 @@
                background-repeat: no-repeat;
        }
 
+       .flow-reply-form {
+               padding-left: 22px;
+       }
+
        .flow-reply-form,
        .flow-edit-post-form {
                padding-top: 20px;
diff --git a/templates/post.html.php b/templates/post.html.php
index 7e611d8..48062ac 100644
--- a/templates/post.html.php
+++ b/templates/post.html.php
@@ -6,7 +6,7 @@
                        'method' => 'POST',
                        // root post id is same as topic workflow id
                        'action' => $this->generateUrl( 
$block->getWorkflowId(), 'reply' ),
-                       'class' => 'flow-reply-form',
+                       'class' => 'flow-reply-form flow-element-container',
                ) );
        $replyForm .= Html::element( 'input', array( 'type' => 'hidden', 'name' 
=> 'wpEditToken', 'value' => $editToken) );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/93498
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iab7744e1c47425c2f31f39f0dd9f56bc97f1f126
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Bsitu <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to