From: Derk-Jan Hartman Date: Tue, 24 Jan 2017 14:13:21 +0000 (+0100) Subject: Don't remove border for floatright and floatleft X-Git-Tag: 1.31.0-rc.0~4233^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=7d3cd26340de92dcd4768e7a82824c0f5d438fe2;p=lhc%2Fweb%2Fwiklou.git Don't remove border for floatright and floatleft This is a leftover from T2691, from a time when the skin still used borders to fake a margin that didn't overlap with H2 elements. We fixed this a long time ago in T28449 and it's follow ups, but this border: 0; remained. I discovered this now no longer desired side effect when trying to apply these classes to tables. Change-Id: I52b18c7c5b3dfea39c4653a8add00a607e7eab73 --- diff --git a/resources/src/mediawiki.skinning/content.css b/resources/src/mediawiki.skinning/content.css index a62ef2e457..87e209e20c 100644 --- a/resources/src/mediawiki.skinning/content.css +++ b/resources/src/mediawiki.skinning/content.css @@ -123,7 +123,6 @@ table.toc td { /* Images */ /* @noflip */div.floatright, table.floatright { margin: 0 0 .5em .5em; - border: 0; } div.floatright p { @@ -132,7 +131,6 @@ div.floatright p { /* @noflip */div.floatleft, table.floatleft { margin: 0 .5em .5em 0; - border: 0; } div.floatleft p {