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

           Summary: omnipresent #contentSub element causes styling issues
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: entli...@gmx-topmail.de


The #contentSub element is always present, but does not have any content most
of the times. Consequences:

1) The Monobook and Vector skins do #contentSub { margin: 0 0 1.4em 1em; },
which causes 1.4em extra whitespace between page title and first paragraph
(similar issue as bug 19567).

2) In Vector, absolute-positioned elements are relative to #bodyContent
(r52855), whose first child is #contentSub (first visible child actually, given
that #siteSub is not displayed by default). The fact that #contentSub is always
present and always has a bottom margin, but does not always have content causes
the content edge of #bodyContent (and, consequently, its absolute-positioned
descendants) to be unstable. Compare the position of the coordinates at
[[de:Athen]] (empty #contentSub, coordinates below header line) with
[[de:Athina]] (non-empty #contentSub, coordinates above header line).

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