Simetrical wrote:
This kind of creeps me out, forcing all headings to have another container to bump the size back out.
They've had the extra container since I added a wrapper to align the edit link properly. You have a wrapper around the actual heading, a wrapper around the section edit link, and a wrapper around both together.
Well, what about something like this structure which I've floated in previous discussions?
<div class="mw-sectionheader"> <h2>The header part</h2> <span class="editsection">[edit]</span> </div>
The CSS can then make the section-header h*s inline so everything wraps together as desired.
That would allow other uses of headers (say in UI code) to work without being disrupted.
-- brion vibber (brion @ wikimedia.org)