Foxtrott has submitted this change and it was merged.

Change subject: Let jumped-to section heads appear below fixed/sticky header
......................................................................


Let jumped-to section heads appear below fixed/sticky header

Also works for 'clean' layout, but needs some more tweaking for when the header
is not displayed. In that case the section head is still offset, i.e. appears
too low.

Change-Id: I8a109b7f46f1da50e4d22dbd46676d0755cf2648
---
M resources/styles/screen.less
1 file changed, 11 insertions(+), 0 deletions(-)

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



diff --git a/resources/styles/screen.less b/resources/styles/screen.less
index 85ee8c2..8f2693e 100644
--- a/resources/styles/screen.less
+++ b/resources/styles/screen.less
@@ -399,3 +399,14 @@
 table.mw-recentchanges-table {
        width: 100%;
 }
+
+.layout-fixedhead, .layout-stickyhead, .layout-clean {
+       h1, h2, h3, h4, h5, h6 {
+               >span.mw-headline:before {
+                       content: "";
+                       display: block;
+                       height: @navbar-height;
+                       margin-top: 0-@navbar-height;
+               }
+       }
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8a109b7f46f1da50e4d22dbd46676d0755cf2648
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/chameleon
Gerrit-Branch: master
Gerrit-Owner: Foxtrott <[email protected]>
Gerrit-Reviewer: Foxtrott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to