Prevents sidebar links from jumping on page load
authorTrevor Parscal <tparscal@wikimedia.org>
Tue, 1 May 2012 18:45:54 +0000 (11:45 -0700)
committerTrevor Parscal <tparscal@wikimedia.org>
Tue, 1 May 2012 19:59:23 +0000 (12:59 -0700)
commite22a369492461711c0f193d0510810a84748440d
tree55ba3878d4bebd864f4e45f8c915ff739e42ac34
parentf4c8a7a700d3b7b2b067d6f8ba2ce550edb059d7
Prevents sidebar links from jumping on page load

When I added an HD style sheet to the Vector skin, I styled the side
bar h5 and .body elements directly to increase padding on the left.
These properties were also set to transition over 250ms. When the
Vector extension modified those same properties with it's own
stylesheet which loads a little later than the Vector skin stylesheet,
the difference was especially visible because of the transitions. This
patch prevents this by adding transitioned padding to #mw-panel
instead, which is not modified by the Vector extension.

Change-Id: I9dfdd791bdcbb38806276852e17348e710f39f86
skins/vector/screen-hd.css
skins/vector/screen.css