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: http://core.svn.wordpress.org/trunk@24688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-07-12 20:44:37 +00:00
parent 2bd27eae7c
commit 0e4a817d15
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;