Use core .mixin-clearfix() instead of DOM element

Removing  presentational `<div class="visualClear"></div>` in process.
Only leaving in for legacy/layout.less and adding comment for future
evaluation if clearfix is continuously needed. In modern we've
got all parts of Vector in our awareness without featuring `float`s.

Bug: T254195
Depends-On: Iddf8f1dffc2d30299b89b3f4966b7fe8ee63090b
Change-Id: I673c28c2d7da4f96c31121d9aec6558e390de24e
This commit is contained in:
Volker E 2020-05-28 23:20:57 -07:00
parent 9aee83fbb8
commit a9b35fa2e4
3 changed files with 3 additions and 2 deletions

View file

@ -62,7 +62,6 @@
<div class="printfooter">{{{html-printfooter}}}</div>
{{/html-printfooter}}
{{{html-catlinks}}}
<div class="visualClear"></div>
{{{html-debuglog}}}
</div>
</div>

View file

@ -75,7 +75,6 @@
<div class="printfooter">{{{html-printfooter}}}</div>
{{/html-printfooter}}
{{{html-catlinks}}}
<div class="visualClear"></div>
{{{html-debuglog}}}
</div>
</main>

View file

@ -59,6 +59,9 @@ body {
.mw-body-content {
position: relative;
z-index: @z-index-base;
// Clearfix here for legacy reasons of floated children (gadgets?),
// to be revisited to clarify historic need and possibly remove.
.mixin-clearfix();
}
/* Head */