Fix the media modal Insert into post button on narrow screens by limiting the width of .media-toolbar-primary and .media-toolbar-secondary only inside .attachments-browser (the top toolbar).

Props iseulde, DrewAPicture. Fixes #31908.
Built from https://develop.svn.wordpress.org/trunk@32121


git-svn-id: http://core.svn.wordpress.org/trunk@32100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-04-14 01:21:27 +00:00
parent d70ec8387b
commit d3cb0d27ff
5 changed files with 19 additions and 7 deletions

View File

@ -232,13 +232,11 @@
.media-toolbar-primary { .media-toolbar-primary {
float: left; float: left;
height: 100%; height: 100%;
max-width: 33%;
} }
.media-toolbar-secondary { .media-toolbar-secondary {
float: right; float: right;
height: 100%; height: 100%;
max-width: 66%;
} }
.media-toolbar-primary > .media-button, .media-toolbar-primary > .media-button,
@ -1078,6 +1076,14 @@
display: none; display: none;
} }
.attachments-browser .media-toolbar-primary {
max-width: 33%;
}
.attachments-browser .media-toolbar-secondary {
max-width: 66%;
}
.uploader-inline .close { .uploader-inline .close {
background-color: transparent; background-color: transparent;
border: 0; border: 0;

File diff suppressed because one or more lines are too long

View File

@ -232,13 +232,11 @@
.media-toolbar-primary { .media-toolbar-primary {
float: right; float: right;
height: 100%; height: 100%;
max-width: 33%;
} }
.media-toolbar-secondary { .media-toolbar-secondary {
float: left; float: left;
height: 100%; height: 100%;
max-width: 66%;
} }
.media-toolbar-primary > .media-button, .media-toolbar-primary > .media-button,
@ -1078,6 +1076,14 @@
display: none; display: none;
} }
.attachments-browser .media-toolbar-primary {
max-width: 33%;
}
.attachments-browser .media-toolbar-secondary {
max-width: 66%;
}
.uploader-inline .close { .uploader-inline .close {
background-color: transparent; background-color: transparent;
border: 0; border: 0;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta4-32120'; $wp_version = '4.2-beta4-32121';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.