From b4ce8210caa5826f342d447081bc2cf3aae3a1ad Mon Sep 17 00:00:00 2001 From: AronDemian Date: Thu, 7 May 2020 15:38:16 +0200 Subject: [PATCH] [modern] Drop the background gradient Move content border rules to layout (will be removed). Bug: T251583 Change-Id: I28b7a3fdd3f89a0aef93e64c1ae12f39ae430e66 --- resources/skins.vector.styles/index.less | 2 -- resources/skins.vector.styles/layout.less | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/skins.vector.styles/index.less b/resources/skins.vector.styles/index.less index e15df2c..43aa67e 100644 --- a/resources/skins.vector.styles/index.less +++ b/resources/skins.vector.styles/index.less @@ -5,8 +5,6 @@ @media screen { @import 'layout.less'; - // FIXME: Will be removed with new header. - @import 'legacy/background-gradient.less'; @import 'common/content.less'; @import 'common/typography.less'; diff --git a/resources/skins.vector.styles/layout.less b/resources/skins.vector.styles/layout.less index 4263989..df28282 100644 --- a/resources/skins.vector.styles/layout.less +++ b/resources/skins.vector.styles/layout.less @@ -43,6 +43,10 @@ body { } .mw-body { + // Will be removed when we limit content width (T246420). + /* Border on top, left, and bottom side */ + border: @border-width-base @border-style-base @border-color-content; + border-right-width: 0; /* Merge the border with tabs' one (in their background image) */ margin-top: -@border-width-base;