https://bugzilla.wikimedia.org/show_bug.cgi?id=40608

       Web browser: ---
             Bug #: 40608
           Summary: WikiEditor interface overflows out of bodyContent div
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: WikiEditor
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: zhoris...@gmail.com
                CC: roan.katt...@gmail.com, tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


Because of the borders and the way floats are treated, the editing textarea and
toolbars when using Extension:WikiEditor are slightly wider than they should
be, causing them to overflow out of the bodyContent by 2px.

Removing the border from the .wikiEditor-ui div and applying it instead to a
non-floating container div as follows should resolve this: 

<div class="wikiEditor-ui-container" style="border: 1px solid #c0c0c0;">
    <div class="wikiEditor-ui">
        ...
    </div>
    <div style="clear: both;"></div>
</div>


.wikiEditor-ui {
    border: none;
}
.wikiEditor-ui-container {
    border: 1px solid #c0c0c0;
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to