From d797d9955e5304eeb408cfb5b655c98d2e3ccdcd Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Tue, 26 Nov 2013 22:43:39 +0000 Subject: [PATCH] Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858. git-svn-id: https://develop.svn.wordpress.org/trunk@26423 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 22abda540e..28445809f3 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -12227,6 +12227,12 @@ li#wp-admin-bar-menu-toggle { display: block; } + /* Disable horizontal scroll when responsive menu is open + since we push the main content off to the right. */ + #wpwrap.wp-responsive-open { + overflow-x: hidden; + } + html.wp-toolbar { padding-top: 0; }