MarkTraceur has submitted this change and it was merged.

Change subject: proper indentation of license under "this file is my own work"
......................................................................


proper indentation of license under "this file is my own work"

Due to the use of <br /> in mwe-upwiz-license-cc-zero (i18n), the
indentation of third label (cc0 waiver) under "this file is my own work" got 
disturbed.
So to fix that, added the class 'mwe-upwiz-copyright-info' at line 237 of 
UploadWizardLicenseInput.js

Change-Id: Ib80aaf362c2f7e036bc8e2200d9d9f1acf698604
---
M resources/mw.UploadWizardLicenseInput.js
M resources/uploadWizard.css
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  MarkTraceur: Verified; Looks good to me, approved



diff --git a/resources/mw.UploadWizardLicenseInput.js 
b/resources/mw.UploadWizardLicenseInput.js
index 6f3b7fb..e7ca992 100644
--- a/resources/mw.UploadWizardLicenseInput.js
+++ b/resources/mw.UploadWizardLicenseInput.js
@@ -234,7 +234,7 @@
                return $j( '<label />' )
                        .attr( { 'for': $input.attr('id') } )
                        .msg( messageKey, this.count || 0, licenseLink )
-                       .append( $icons );
+                       .append( $icons ).addClass( 'mwe-upwiz-copyright-info' 
);
        },
 
        /**
diff --git a/resources/uploadWizard.css b/resources/uploadWizard.css
index d59f5ab..0f1edd0 100644
--- a/resources/uploadWizard.css
+++ b/resources/uploadWizard.css
@@ -639,7 +639,7 @@
 }
 
 
-.mwe-upwiz-copyright-info label {
+label.mwe-upwiz-copyright-info {
        display: inline-block;
        padding-left: 3px;
        text-indent: 0px;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib80aaf362c2f7e036bc8e2200d9d9f1acf698604
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Rjain <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Nischayn22 <[email protected]>
Gerrit-Reviewer: Raimond Spekking <[email protected]>

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

Reply via email to