Bmansurov has uploaded a new change for review.

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

Change subject: Remove wikitext editor padding in alpha and beta.
......................................................................

Remove wikitext editor padding in alpha and beta.

The content is already center aligned in alpha and beta and it has
horizontal padding on both sides. Stable still needs that padding
because the editor should not touch the borders of the page.

Bug: T103024
Change-Id: I25a04b61faa5cece41ccc63f8088112f5eb9ddad
---
M resources/mobile.editor.common/editor.less
1 file changed, 5 insertions(+), 1 deletion(-)


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

diff --git a/resources/mobile.editor.common/editor.less 
b/resources/mobile.editor.common/editor.less
index a256dc5..ba65d09 100644
--- a/resources/mobile.editor.common/editor.less
+++ b/resources/mobile.editor.common/editor.less
@@ -7,7 +7,11 @@
        }
 
        .wikitext-editor {
-               padding: 10px @contentMargin;
+               padding: 10px 0;
+       }
+       .stable & .wikitext-editor {
+               padding-left: @contentMargin;
+               padding-right: @contentMargin;
        }
 
        .summary-request {

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

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

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

Reply via email to