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

           Summary: Tweak HTML for preview bar (patch)
           Product: MediaWiki
           Version: 1.15-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-review, patch
          Severity: enhancement
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=6018)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6018)
patch against r49247

Currently it's difficult to effectively customise the appearance of the notice
that displays when previewing a page; the h2 "preview" header (and the
"previewconflict" header when it appears) is unidentified and appears outside
the <div class="previewnote"> that contains the "remember this is only a
preview" message.  Changes in this patch:

1) assign IDs for both h2s so they can be identified individually
2) move both <h2>s inside the "previewnote" div so it forms a clearer semantic
grouping; move the "text-indent:3em" CSS rule to the inner <p> so it doesn't
screw up the h2 indentation
3) use an <hr> instead of a bottom margin; semantically clearer and probably
better from an accessibility PoV.


-- 
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