Page MenuHomePhabricator

Presence of .mbox-small forces content to start after it
Open, Needs TriagePublicBUG REPORT

Description

Steps to Reproduce

Actual Results

No content visible next to infobox. Content starts after Wikimedia Commons has media related to Geobiography of Raj Reddy media box.

screenshot 2020-02-11 at 5.13.38 PM.jpg (1×1 px, 202 KB)

screenshot 2020-02-11 at 4.54.12 PM.jpg (1×618 px, 94 KB)

Expected Results

Content is visible next to infobox, as is the case with wiki/Electronic_Frontier_Foundation.

Reproduced On

  • macOS Mojave 10.14.5 Beta (18F131a)
    • Firefox 72.0.2 (64-bit)
    • Brave Version 1.1.23 Chromium: 79.0.3945.88 (Official Build) (64-bit)
    • Safari Version 12.1.1 (14607.2.6.1.1)

Fix

Edit css rule html body.mediawiki .mbox-small (load.php:1) and either:

  • Remove clear: right;
  • Prevent overriding of float: right, possibly by adding !important.

I'd be happy to submit a patch if you could tell me where to include these changes.

Event Timeline

Jdlrobson subscribed.

Please raise this on wiki in Wikipedia:Village pump or MediaWiki talk:Common.css

The rule html body.mediawiki .mbox-small { clear: right; } is defined in MediaWiki:Common.css and doesn't seem to be working here.

This is because minerva disables float on all tables.

.content table {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

I don't think there is a quick solution for this, i don't want to start !important'ing mbox style statements. ideas ?

Can a wrapping container be used?

e.g.

<div class="mbox-container">
<table class="mbox-small">
...
</div>