jenkins-bot has submitted this change and it was merged.

Change subject: Fix side spacing for pre-content (page title)
......................................................................


Fix side spacing for pre-content (page title)

Bug: T92559
Change-Id: Id12ba1761acc8d51e27a452456909b863957e4ec
---
M resources/ext.gather.styles/collections.less
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/ext.gather.styles/collections.less 
b/resources/ext.gather.styles/collections.less
index db7c480..e79cd0d 100644
--- a/resources/ext.gather.styles/collections.less
+++ b/resources/ext.gather.styles/collections.less
@@ -21,17 +21,23 @@
 .mw-mf-special #content_wrapper {
        padding-top: 1em;
 }
+// FIXME: Bad special page styling defaults.
 // Page heading won't have bottom spacing (to allow possible content to stay
 // close to title if necessary, like a description of the title)
 .mw-mf-special #content_wrapper .pre-content #section_0 {
        padding-bottom: 0em;
 }
+// FIXME: Bad special page styling defaults.
 // Spacing between title and content is defined by the content so that it can
 // be customized
 .content {
        margin-top: 1.5em;
 }
-// END FIXME: Bad special page styling defaults.
+// FIXME: Bad special page styling defaults.
+// Pre content should have the same side spacing as .content
+.mw-mf-special #content_wrapper .pre-content {
+       margin: 0 16px;
+}
 
 /*
  *  Collection page

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id12ba1761acc8d51e27a452456909b863957e4ec
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <jhernan...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to