From b0e54eec4568405ba0b7e4ae1bcc374258e80eb7 Mon Sep 17 00:00:00 2001 From: Volker E Date: Mon, 9 Nov 2020 07:49:56 -0800 Subject: [PATCH] [modern][styles] Remove unnecessary `margin-top` Following-up Iecb0d6c4c80cee1d1684597a6dedf7323e2ec54d. It isn't set anywhere inherited, hence we don't need to set it here. Change-Id: Ife24aa95e6d1830b8d50001976277dbb2535c47f --- resources/skins.vector.styles/layout-default.less | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/skins.vector.styles/layout-default.less b/resources/skins.vector.styles/layout-default.less index 4a73f66..43e7500 100644 --- a/resources/skins.vector.styles/layout-default.less +++ b/resources/skins.vector.styles/layout-default.less @@ -120,18 +120,17 @@ body { } #mw-panel { + background-image: linear-gradient( to bottom, @background-color-base 0%, @background-color-secondary--modern 10%, @background-color-secondary--modern 90%, @background-color-base 100% ); position: absolute; // Sidebar is displaced from the workspace container so that the // sidebar is flush with the edge of the screen at small widths. left: -@padding-horizontal-page-container; width: @width-grid-column-one; .box-sizing( border-box ); - margin-top: 0; // To avoid the white part of the gradient colliding with the sidebar links // we apply top and bottom padding. padding: 8px 0 40px @padding-left-sidebar; z-index: @z-index-sidebar; - background-image: linear-gradient( to bottom, @background-color-base 0%, @background-color-secondary--modern 10%, @background-color-secondary--modern 90%, @background-color-base 100% ); } .parsoid-body {