jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/347661 )
Change subject: Separate some shared layout with Parsoid
......................................................................
Separate some shared layout with Parsoid
* This is in service of T116508. See
Id41c1d2840f441eddb14ca66ba545ee7b160088e where .mw-body is being
removed from Parsoid content.
* This is only possible since T155863
Change-Id: I60e3cb3e838fa19d321c4eac0a6828bcfddb6f3e
---
M components/common.less
1 file changed, 8 insertions(+), 4 deletions(-)
Approvals:
Subramanya Sastry: Looks good to me, but someone else must approve
jenkins-bot: Verified
VolkerE: Looks good to me, approved
diff --git a/components/common.less b/components/common.less
index c79788f..0c00963 100644
--- a/components/common.less
+++ b/components/common.less
@@ -27,17 +27,21 @@
}
/* Content */
+.mw-body,
+.parsoid-body {
+ padding: @content-padding;
+ background-color: @body-background-color;
+ color: @content-font-color;
+ direction: ltr;
+}
+
.mw-body {
margin-left: 10em;
- padding: @content-padding;
/* Border on top, left, and bottom side */
border: 1px solid @content-border-color;
border-right-width: 0;
/* Merge the border with tabs' one (in their background image) */
margin-top: -1px;
- background-color: @body-background-color;
- color: @content-font-color;
- direction: ltr;
// h1's can exist outside of mw-body-content so some heading styles
// need to be defined in mw-body as well
--
To view, visit https://gerrit.wikimedia.org/r/347661
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I60e3cb3e838fa19d321c4eac0a6828bcfddb6f3e
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>
Gerrit-Reviewer: Arlolra <[email protected]>
Gerrit-Reviewer: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: VolkerE <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits