Move style for #wikiPreview to mediawiki.action.edit.styles.css
authorFomafix <fomafix@googlemail.com>
Sat, 6 Aug 2016 22:49:05 +0000 (22:49 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Sat, 6 Aug 2016 22:49:05 +0000 (22:49 +0000)
The style module 'mediawiki.action.edit.styles' gets loaded in EditPage.php.

Bug: T89981
Change-Id: Ie691df4e926be8f094e4117c836334d01d935868

resources/src/mediawiki.action/mediawiki.action.edit.styles.css
resources/src/mediawiki.legacy/shared.css

index 4209aa1..0ee4058 100644 (file)
 .editButtons input:first-child {
        margin-left: .1em;
 }
+
+/*
+ * Add a bit of margin space between the preview and the toolbar.
+ * This replaces the ugly <p><br /></p> we used to insert into the page source
+ */
+#wikiPreview.ontop {
+       margin-bottom: 1em;
+}
index e9cbbcb..38d2a27 100644 (file)
@@ -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 <p><br /></p> we used to insert into the page source
- */
-#wikiPreview.ontop {
-       margin-bottom: 1em;
-}
-
 /* Stop floats from intruding into edit area in previews */
 #editform,
 #toolbar,