mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 22:56:19 +01:00
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:
parent
d70ec8387b
commit
d3cb0d27ff
@ -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;
|
||||||
|
2
wp-includes/css/media-views-rtl.min.css
vendored
2
wp-includes/css/media-views-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||||
|
2
wp-includes/css/media-views.min.css
vendored
2
wp-includes/css/media-views.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user