jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/367627 )
Change subject: Fix CSS selector output in print stylesheet
......................................................................
Fix CSS selector output in print stylesheet
Less doesn't allow to nest like this. It creates the invalid selector
`.vector-experimental-print-stylesbody`
This is a follow up to I453ae43099796a74c39d965b796f2fa13942106c
Bug: T169823
Change-Id: I9cc2f474fdcafdcc68378185391607b72b0f667a
---
M print.less
1 file changed, 5 insertions(+), 4 deletions(-)
Approvals:
jenkins-bot: Verified
VolkerE: Looks good to me, approved
diff --git a/print.less b/print.less
index 50c3d30..9283ec3 100644
--- a/print.less
+++ b/print.less
@@ -2,11 +2,12 @@
@media print {
+ body.vector-experimental-print-styles {
+ padding: 10px;
+ font-family: serif;
+ }
+
.vector-experimental-print-styles {
- &body {
- padding: 10px;
- font-family: serif;
- }
// Normalize Blue links in the article
a {
--
To view, visit https://gerrit.wikimedia.org/r/367627
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9cc2f474fdcafdcc68378185391607b72b0f667a
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Bmansurov <[email protected]>
Gerrit-Reviewer: Niedzielski <[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