From 42e4bada90787e8eede12bd902feee9620e71bc2 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Fri, 15 Apr 2011 20:57:24 +0000 Subject: [PATCH] (bug 28561 - follow-up r4185) remove rule .small * {font-size: 94%} causes anything nested to be super-small I'm not sure what the intent was, but this rule will make something like: foo have the second o in foo be smaller then the first. Even without this rule, nested instances of class="small" will still be smaller than a single instance, so it only causes weirdness. --- RELEASE-NOTES | 1 + skins/chick/main.css | 2 +- skins/common/oldshared.css | 2 +- skins/monobook/main.css | 2 +- skins/vector/screen.css | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9af339d6f8..8b3956fd0f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -238,6 +238,7 @@ PHP if you have not done so prior to upgrading MediaWiki. * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again * ' character entity is now allowed in wikitext * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if intl installed. +* (bug 28561) The css class small will no longer make nested elements even smaller. === API changes in 1.18 === * (bug 26339) Throw warning when truncating an overlarge API result diff --git a/skins/chick/main.css b/skins/chick/main.css index 50654255d8..4d84d1ae41 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -237,7 +237,7 @@ in the bottom-right corner of the content area */ margin-right: auto; } /* small for tables and similar */ -.small, .small * { font-size: 94%; } +.small { font-size: 94%; } table.small { font-size: 100% } /* diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index 034a468e48..071e521632 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -214,7 +214,7 @@ fieldset.operaprefsection { } /* small for tables and similar */ -.small, .small * { +.small { font-size: 94%; } table.small { diff --git a/skins/monobook/main.css b/skins/monobook/main.css index c2db5a172d..1f9fd72948 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -317,7 +317,7 @@ in the bottom-right corner of the content area */ margin-right: auto; } /* small for tables and similar */ -.small, .small * { +.small { font-size: 94%; } table.small { diff --git a/skins/vector/screen.css b/skins/vector/screen.css index b983c00195..5556bf685c 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -1018,7 +1018,7 @@ span.subpages { margin-right: auto; } /* Small for tables and similar */ -.small, .small * { +.small { font-size: 94%; } table.small { -- 2.20.1