From a7fb239d5796aa0f159c115d4eb6199778a96f14 Mon Sep 17 00:00:00 2001 From: evad37 Date: Wed, 24 Jan 2018 23:44:21 +0800 Subject: [PATCH] Fix sidebar chunk spacing in two-column (desktop-mid) view Set the top margin of #mw-related-navigation and its first sidebar chunk to 0. This replicates the margin collapsing that occurs between other sidebar chunks, so that all the gaps between sidebar chunks are the same size. Bug: T181256 Change-Id: I35b90383be8610412566e7367ecf25d771d4747c --- resources/screen-desktop-mid.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/screen-desktop-mid.less b/resources/screen-desktop-mid.less index d0f9e5c..17a951b 100644 --- a/resources/screen-desktop-mid.less +++ b/resources/screen-desktop-mid.less @@ -5,8 +5,8 @@ .column-left(); } -#mw-related-navigation { - margin-top: 2em; +#mw-related-navigation > div.sidebar-chunk:first-child { + margin-top: 0; } #mw-content {