Work around browser inconsistencies with 'clear' + 'margin-top'

No visual changes expected.

Bug: T325391
Change-Id: I20c5aa5d0a2018f32dff6948cd210fecc7ba760f
This commit is contained in:
Bartosz Dziewoński 2022-12-22 16:12:05 +01:00
parent bb402a4fb4
commit e076351311

View file

@ -67,11 +67,16 @@ body {
z-index: @z-index-indicators;
}
.vector-page-titlebar,
.vector-body-before-content {
.vector-page-titlebar {
.mixin-clearfix();
}
.vector-body-before-content {
// Contain the floating .mw-indicators, but don't use clearfix because of browser inconsistencies
// when combining 'clear' and 'margin-top' (T325391)
overflow: hidden;
}
.mw-body .mw-portlet-lang {
float: right;
}