Tinaj1234 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/196218

Change subject: Use mediawiki.ui button styles for submission buttons
......................................................................

Use mediawiki.ui button styles for submission buttons

mediawiki.ui button styles were used to get better looking
buttons

Bug: T62725
Change-Id: I12a121f46c7d46fc6854c13ecb4defeed8373865
---
M includes/SpecialMassMessage.php
M modules/ext.MassMessage.special.css
2 files changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassMessage 
refs/changes/18/196218/1

diff --git a/includes/SpecialMassMessage.php b/includes/SpecialMassMessage.php
index 08d084e..4a6560d 100644
--- a/includes/SpecialMassMessage.php
+++ b/includes/SpecialMassMessage.php
@@ -145,6 +145,7 @@
                        $m['message']['help'] = EditPage::getCopyrightWarning( 
$this->getPageTitle( false ), 'parse' );
                        $m['submit-button'] = array(
                                'id' => 'mw-massmessage-form-submit-button',
+                'cssclass' => 'mw-ui-button mw-ui-constructive',
                                'name' => 'submit-button',
                                'type' => 'submit',
                                'tabindex' => '4',
@@ -154,6 +155,7 @@
 
                $m['preview-button'] = array(
                        'id' => 'mw-massmessage-form-preview-button',
+            'cssclass' => 'mw-ui-button mw-ui-progressive',
                        'name' => 'preview-button',
                        'type' => 'submit',
                        'tabindex' => '5',
diff --git a/modules/ext.MassMessage.special.css 
b/modules/ext.MassMessage.special.css
index 0a7dc2b..e7f084d 100644
--- a/modules/ext.MassMessage.special.css
+++ b/modules/ext.MassMessage.special.css
@@ -4,5 +4,7 @@
 #mw-massmessage-form .mw-htmlform-field-HTMLSubmitField,
 #mw-massmessage-form .mw-htmlform-field-HTMLSubmitField .mw-label,
 #mw-massmessage-form .mw-htmlform-field-HTMLSubmitField .mw-input {
-    display: inline;
+    display: inline-table !important;
+    margin-right: 10px;
+    padding: 0px;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I12a121f46c7d46fc6854c13ecb4defeed8373865
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MassMessage
Gerrit-Branch: master
Gerrit-Owner: Tinaj1234 <tinajohnson.1...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to