Don't remove border for floatright and floatleft
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Tue, 24 Jan 2017 14:13:21 +0000 (15:13 +0100)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Tue, 24 Jan 2017 14:13:21 +0000 (15:13 +0100)
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

resources/src/mediawiki.skinning/content.css

index a62ef2e..87e209e 100644 (file)
@@ -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 {