Fix margins after they were broken in 9d988924

Changes in MediaWiki core to the padding of div#content in Vector
(see 9d988924a0350228745375e074420a0e1214f7e3 ) made the toolbar in
VisualEditor's ViewPageTarget integration for Vector render incorrectly.

This adjusts the toolbar margins to match the changes in content padding.

Bug: 61224
Change-Id: Ie6b47f5d1929533669118ba51202c1fccda4a0d6
This commit is contained in:
Trevor Parscal 2014-02-11 13:58:21 -08:00 committed by Jforrester
parent bee4e5323f
commit 79082ebf82
2 changed files with 2 additions and 2 deletions

View file

@ -6,5 +6,5 @@
*/
.ve-init-mw-viewPageTarget-toolbar {
margin: -1.25em -1.5em 1.25em -1.75em;
margin: -1.25em -1.5em 1.5em -1.5em;
}

View file

@ -19,7 +19,7 @@
}
.ve-init-mw-viewPageTarget-toolbar {
margin: -1.25em -1.5em 1.5em -1.5em;
margin: -1em -1em 1em -1em;
-webkit-transition: margin 200ms ease-out;
-moz-transition: margin 200ms ease-out;
-o-transition: margin 200ms ease-out;