From: Fomafix Date: Sat, 6 Aug 2016 22:49:05 +0000 (+0000) Subject: Move style for #wikiPreview to mediawiki.action.edit.styles.css X-Git-Tag: 1.31.0-rc.0~6141 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=0a2ddab6778b4ef6c3bc1d95d3a4f9e621f318dd;p=lhc%2Fweb%2Fwiklou.git Move style for #wikiPreview to mediawiki.action.edit.styles.css The style module 'mediawiki.action.edit.styles' gets loaded in EditPage.php. Bug: T89981 Change-Id: Ie691df4e926be8f094e4117c836334d01d935868 --- diff --git a/resources/src/mediawiki.action/mediawiki.action.edit.styles.css b/resources/src/mediawiki.action/mediawiki.action.edit.styles.css index 4209aa1f14..0ee40582cb 100644 --- a/resources/src/mediawiki.action/mediawiki.action.edit.styles.css +++ b/resources/src/mediawiki.action/mediawiki.action.edit.styles.css @@ -34,3 +34,11 @@ .editButtons input:first-child { margin-left: .1em; } + +/* + * Add a bit of margin space between the preview and the toolbar. + * This replaces the ugly


we used to insert into the page source + */ +#wikiPreview.ontop { + margin-bottom: 1em; +} diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index e9cbbcb397..38d2a27df1 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -98,14 +98,6 @@ span.comment { unicode-bidi: isolate; } -/** - * Add a bit of margin space between the preview and the toolbar. - * This replaces the ugly


we used to insert into the page source - */ -#wikiPreview.ontop { - margin-bottom: 1em; -} - /* Stop floats from intruding into edit area in previews */ #editform, #toolbar,