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

Built from https://develop.svn.wordpress.org/trunk@26382


git-svn-id: http://core.svn.wordpress.org/trunk@26282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-11-26 02:42:10 +00:00
parent d25288a7f7
commit 435c690d8f
8 changed files with 18 additions and 8 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-left: 10px; margin-left: 12px;
margin-right: 0; margin-right: 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;
}
} }

File diff suppressed because one or more lines are too long

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;
}
} }

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long