Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.

git-svn-id: https://develop.svn.wordpress.org/trunk@26382 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-11-26 02:41:35 +00:00
parent 16a44dfb6a
commit 183ac18d83
2 changed files with 7 additions and 2 deletions

View File

@ -10906,7 +10906,6 @@ li#wp-admin-bar-toggle-button {
#wpwrap { #wpwrap {
background: #f0f0f0; background: #f0f0f0;
overflow-x: hidden;
} }
#wpcontent, .auto-fold #wpcontent { #wpcontent, .auto-fold #wpcontent {
@ -10916,7 +10915,7 @@ li#wp-admin-bar-toggle-button {
} }
.wrap { .wrap {
margin-right: 10px; margin-right: 12px;
margin-left: 0; margin-left: 0;
} }
@ -12257,4 +12256,9 @@ li#wp-admin-bar-toggle-button {
height: 100%; height: 100%;
z-index: 400; z-index: 400;
} }
/* Keep full-width boxes on Edit Post page from causing horizontal scroll */
div#post-body.metabox-holder.columns-1 {
overflow-x: hidden;
}
} }

View File

@ -838,6 +838,7 @@
text-indent: 100%; text-indent: 100%;
width: 28px; width: 28px;
padding: 0 10px; padding: 0 10px;
overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */
} }
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {