Kaldari has uploaded a new change for review.

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

Change subject: Fixes to neglected Mobile upload interface (for 3rd parties)
......................................................................

Fixes to neglected Mobile upload interface (for 3rd parties)

Adding mw-ui-input class to description field as this is now needed
for textareas to be properly styled.

Moving 'text-align: center' up one element so that the upload button is
also centered (like all the other content on the page).

Change-Id: I1c1164002625ea6a933bb913474d5d86e5a1523c
---
M less/specials/uploads.less
M templates/modules/uploads/PhotoUploadOverlay.hogan
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/30/181430/1

diff --git a/less/specials/uploads.less b/less/specials/uploads.less
index 52d9628..de8bc3c 100644
--- a/less/specials/uploads.less
+++ b/less/specials/uploads.less
@@ -16,12 +16,12 @@
 }
 
 .ctaUploadPhoto {
+       text-align: center;
        padding: .5em;
 
        h2 {
                font-size: 1.25em;
                margin: 0 0 .5em;
-               text-align: center;
        }
 }
 
diff --git a/templates/modules/uploads/PhotoUploadOverlay.hogan 
b/templates/modules/uploads/PhotoUploadOverlay.hogan
index d8c391d..a739908 100644
--- a/templates/modules/uploads/PhotoUploadOverlay.hogan
+++ b/templates/modules/uploads/PhotoUploadOverlay.hogan
@@ -2,6 +2,6 @@
        {{{spinner}}}
        <div class="preview"></div>
        <p>{{ownerStatement}} <a href="#/upload-tutorial" class="help 
inline">{{help}}</a></p>
-       <textarea name="description" 
placeholder="{{descriptionPlaceholder}}"></textarea>
+       <textarea class="mw-ui-input" name="description" 
placeholder="{{descriptionPlaceholder}}"></textarea>
        <p class="license">{{{license}}}</p>
 </div>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c1164002625ea6a933bb913474d5d86e5a1523c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>

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

Reply via email to