From 21d471661204a30d6d231e7d3299b30b3475a341 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 21 Sep 2020 13:23:48 +0100 Subject: [PATCH] Follow-up I673c28c2: Only apply clearfix to main content area Bug: T254195 Bug: T263445 Change-Id: I693cd3d4d32501a2a4ab20140a662943fba22bb6 --- resources/skins.vector.styles/legacy/layout.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/skins.vector.styles/legacy/layout.less b/resources/skins.vector.styles/legacy/layout.less index e28eec646..94a11a657 100644 --- a/resources/skins.vector.styles/legacy/layout.less +++ b/resources/skins.vector.styles/legacy/layout.less @@ -59,8 +59,12 @@ body { .mw-body-content { position: relative; z-index: @z-index-base; +} + +#bodyContent { // Clearfix here for legacy reasons of floated children (gadgets?), // to be revisited to clarify historic need and possibly remove. + // Only apply to the main content area (T263445) .mixin-clearfix(); }