Page MenuHomePhabricator

Editing textarea overflows out of bodyContent div
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: trivial

Details

Reference
bz40610

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:48 AM
bzimport set Reference to bz40610.
bzimport added a subscriber: Unknown Object (MLST).

I have no idea what the words for this are, but this is now this: https://gerrit.wikimedia.org/r/28665

Also, there is probably a status for this sort of thing but I have no idea what that is either.

Adding patch-in-gerrit keyword – this is the only status there is :)

There is a more general ticket about 'all locations' where we have this problem https://bugzilla.wikimedia.org/34557 and that we should avoid/fix it.

And E3 team will have to remove their 'margin-right:-2px' from the editOptions class.