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

       Web browser: ---
             Bug #: 40610
           Summary: Editing textarea overflows out of bodyContent div
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: Page editing
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Because of the padding and borders, the editing textarea is slightly wider than
it should be, causing to to overflow out of the bodyContent by 4px.

Putting the textarea in a container div as follows, with css along these lines,
should resolve this:

<div id="editBox">
    <textarea .../>
</div>

#wpTextbox1 {
    padding: 0; 
    border: none;
}
#wpEditBox {
    border: solid 1px #c0c0c0; 
    padding: .1em;
}

Note that the WikiEditor extension fixes this bug but introduces a similar one
due to its implementation (Bug 40608); this fix should not affect that.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to