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

       Web browser: ---
             Bug #: 33445
           Summary: margin-right:0 for table.wikitable
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


At the moment wikitable has a right margin of 1em:

 table.wikitable { margin-right: 1em }

This prevents a table can use the full width.

Example: https://en.wikipedia.org/wiki/Special:Version#Installed_extensions

I suggest a right margin of 0:

 table.wikitable { margin-right: 0 }


A visual change can occur on left floating tables:

{| class="wikitable" style="float:left"
|-
| left floating table
|}
Example surrounding text right of the table.

Floating objects should always take care about their margins to the surrounding
text.


An other visual change occurs on nested tables:

{|
|-
|
{| class="wikitable"
|-
| left table
|}
|
{| class="wikitable"
|-
| right table
|}
|}

The gap between the tables reduce to the defaults: cellpadding="1"
cellspacing="2". I think this is acceptable.


Additionally I suggest to reduce the top margin and the bottom margin from 1em
to 0.5em:

 table.wikitable { margin: 0.5em 0 }

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