JGonera has uploaded a new change for review.
https://gerrit.wikimedia.org/r/73913
Change subject: Remove unnecessary RTL CSS rule
......................................................................
Remove unnecessary RTL CSS rule
Change-Id: I3f23b5684476f046a6e5923d6fb7ed7986111705
---
M less/modules/editor.less
M stylesheets/modules/editor.css
2 files changed, 2 insertions(+), 11 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/13/73913/1
diff --git a/less/modules/editor.less b/less/modules/editor.less
index 647c5c8..3c91472 100644
--- a/less/modules/editor.less
+++ b/less/modules/editor.less
@@ -3,7 +3,7 @@
.section_heading {
.edit-page {
position: absolute;
- background: url(../common/images/pagemenu/edit.png) 5px
@headingMargin no-repeat;
+ background: url(../common/images/pagemenu/edit.png) 100%
@headingMargin no-repeat;
.background-size( auto, 30px );
text-indent: -9999px;
border-left: solid 1px @sectionBorderColor;
@@ -16,12 +16,6 @@
&.openSection .edit-page {
display: block;
- }
-}
-
-html[dir="rtl"] {
- .section_heading .edit-page {
- background-position: 0 @headingMargin;
}
}
diff --git a/stylesheets/modules/editor.css b/stylesheets/modules/editor.css
index 8c50c9c..dbf1280 100644
--- a/stylesheets/modules/editor.css
+++ b/stylesheets/modules/editor.css
@@ -7,7 +7,7 @@
*/
.section_heading .edit-page {
position: absolute;
- background: url(../common/images/pagemenu/edit.png) 5px 9pt no-repeat;
+ background: url(../common/images/pagemenu/edit.png) 100% 9pt no-repeat;
/* use -webkit prefix for older android browsers eg. nexus 1 */
-o-background-size: auto 30px;
@@ -23,9 +23,6 @@
}
.section_heading.openSection .edit-page {
display: block;
-}
-html[dir="rtl"] .section_heading .edit-page {
- background-position: 0 9pt;
}
.stub .edit-page {
margin: 0;
--
To view, visit https://gerrit.wikimedia.org/r/73913
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f23b5684476f046a6e5923d6fb7ed7986111705
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits