From 5a02ab94741628328c7d1302ebbe01f5db346248 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Sat, 12 Sep 2009 17:11:26 +0000 Subject: [PATCH] Re-add the RTL lists workaround for Firefox bug to monobook/rtl.css, as common_rtl.css does not seem to be used in Monobook. --- skins/common/common_rtl.css | 14 ++++---------- skins/monobook/rtl.css | 12 ++++++++++++ 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/skins/common/common_rtl.css b/skins/common/common_rtl.css index cd5212ea8f..2e8bb98056 100644 --- a/skins/common/common_rtl.css +++ b/skins/common/common_rtl.css @@ -1,6 +1,7 @@ /* * This file contains CSS settings common to RTL wikis use the old * pre-Monobook skins Wikistandard, Nostalgia and CologneBlue + * NOTE: This file is not used in Monobook! */ /* js pref toc */ @@ -47,19 +48,12 @@ table.filehistory th { html > body div#article ul { display: table; } +html > body div#bodyContent ul#filetoc { + display: block; +} /* feed links */ a.feedlink { background: none !important; padding-left: 0 !important; } - -/** - * Lists: - * The following lines don't have a visible effect on non-Gecko browsers - * They fix a problem ith Gecko browsers rendering lists to the right of - * left-floated objects in an RTL layout. - */ -html > body div#bodyContent ul#filetoc { - display: block; -} diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css index b620bfa49f..b9bf43c0a4 100644 --- a/skins/monobook/rtl.css +++ b/skins/monobook/rtl.css @@ -237,3 +237,15 @@ td#mw-prefixindex-nav-form { text-align: left; } +/** + * Lists: + * The following lines don't have a visible effect on non-Gecko browsers + * They fix a problem ith Gecko browsers rendering lists to the right of + * left-floated objects in an RTL layout. + */ +html > body div#article ul { + display: table; +} +html > body div#bodyContent ul#filetoc { + display: block; +} -- 2.20.1