r106043 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106042‎ | r106043 | r106044 >
Date:16:48, 13 December 2011
Author:robin
Status:ok
Tags:
Comment:
Add correct margin for dd when user language direction is different from intended direction, similar to ul/ol styles
Modified paths:
  • /trunk/phase3/skins/common/shared.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/shared.css
@@ -727,6 +727,18 @@
728728 margin: 0.3em 3.2em 0 0;
729729 padding: 0;
730730 }
 731+/* @noflip */
 732+.mw-content-ltr dd,
 733+.mw-content-rtl .mw-content-ltr dd {
 734+ margin-left: 1.6em;
 735+ margin-right: 0;
 736+}
 737+/* @noflip */
 738+.mw-content-rtl dd,
 739+.mw-content-ltr .mw-content-rtl dd {
 740+ margin-right: 1.6em;
 741+ margin-left: 0;
 742+}
731743
732744 /* Galleries */
733745 /* These display attributes look nonsensical, but are needed to support IE and FF2 */

Status & tagging log