Jdlrobson has uploaded a new change for review.

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


Change subject: Regression: Make sure all edit buttons are styled as edit 
buttons
......................................................................

Regression: Make sure all edit buttons are styled as edit buttons

On a stub page (ie. no collapsed sections) where there is an h1
the edit button is unstyled and the page looks broken

This fixes it.

Change-Id: If60ff84802c7c88a4c9094a75e974f82a297bf0a
---
M less/modules/editor.less
M stylesheets/modules/editor.css
2 files changed, 3 insertions(+), 3 deletions(-)


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

diff --git a/less/modules/editor.less b/less/modules/editor.less
index 1643707..9224369 100644
--- a/less/modules/editor.less
+++ b/less/modules/editor.less
@@ -1,6 +1,6 @@
 @import "../mixins.less";
 
-.section {
+.content {
        .edit-page {
                position: absolute;
                background: url(../common/images/pagemenu/edit.png) 100% 
@headingMargin no-repeat;
diff --git a/stylesheets/modules/editor.css b/stylesheets/modules/editor.css
index 7c275a0..474a2f8 100644
--- a/stylesheets/modules/editor.css
+++ b/stylesheets/modules/editor.css
@@ -5,7 +5,7 @@
  * Please edit the corresponding less file instead.
  * See README.mediawiki for details on installing.
  */
-.section .edit-page {
+.content .edit-page {
   position: absolute;
   background: url(../common/images/pagemenu/edit.png) 100% 9pt no-repeat;
   /* use -webkit prefix for older android browsers eg. nexus 1 */
@@ -20,7 +20,7 @@
   bottom: 0;
   right: 0;
 }
-.section h2.openSection .edit-page {
+.content h2.openSection .edit-page {
   display: block;
 }
 .stub .edit-page {

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

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

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

Reply via email to