Revisions: force a scroll bar so that everything doesn't jerk around as you scrub due to the scroll bar popping in and out.

See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24688 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2013-07-12 20:44:37 +00:00
parent ce57a4b115
commit 3e1cafce65
1 changed files with 4 additions and 0 deletions

View File

@ -3500,6 +3500,10 @@ td.plugin-title p {
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------
11.2 - Post Revisions 11.2 - Post Revisions
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
body.revision-php {
overflow-y: scroll; /* Force a scrollbar, so centering doesn't jump */
}
.revisions-control-frame, .revisions-control-frame,
.revisions-diff-frame { .revisions-diff-frame {
position: relative; position: relative;