Replace the <p><br /></p> inserted between the toolbar and the preview area with...
authorDaniel Friesen <dantman@users.mediawiki.org>
Thu, 28 Aug 2008 21:16:46 +0000 (21:16 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Thu, 28 Aug 2008 21:16:46 +0000 (21:16 +0000)
commitb2da583a618234085842a29114ab62c44476990a
treeac0ac14d3ea642537ace1f3bcf1cb11f6c254222
parent6578dd7890b1d148aa231acbe9d134db0477815a
Replace the <p><br /></p> inserted between the toolbar and the preview area with a ontop class. In shared.css we give this a bottom margin of 1em to add the space between the toolbar and preview.
As a bonus, because display: none; is now used when the preview area is not used, ajax/live previews actually get the spacing instead of it not showing up.
preview.js has also been tweaked to remove the display: none; when previewing.
includes/EditPage.php
skins/common/preview.js
skins/common/shared.css