mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 22:56:19 +01:00
Media: Ensure Crop Image is always visible.
Previously, the crop button in the media modal after uploading header images or similar was hidden and the task could not be completed. Props karinedo, sagarprajapati, Cybr, mayurk. Fixes #40152. Merges [40428] to the 4.7 branch. Built from https://develop.svn.wordpress.org/branches/4.7@40429 git-svn-id: http://core.svn.wordpress.org/branches/4.7@40327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aaf7176230
commit
50867ef8b8
@ -378,6 +378,11 @@ TABLE OF CONTENTS:
|
||||
vertical-align: inherit;
|
||||
}
|
||||
|
||||
.media-modal-content .media-toolbar-primary .media-button {
|
||||
margin-top: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/* Reset responsive styles on Log in button on iframed login form */
|
||||
|
||||
.interim-login .button.button-large {
|
||||
|
2
wp-includes/css/buttons-rtl.min.css
vendored
2
wp-includes/css/buttons-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -378,6 +378,11 @@ TABLE OF CONTENTS:
|
||||
vertical-align: inherit;
|
||||
}
|
||||
|
||||
.media-modal-content .media-toolbar-primary .media-button {
|
||||
margin-top: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/* Reset responsive styles on Log in button on iframed login form */
|
||||
|
||||
.interim-login .button.button-large {
|
||||
|
2
wp-includes/css/buttons.min.css
vendored
2
wp-includes/css/buttons.min.css
vendored
File diff suppressed because one or more lines are too long
@ -242,14 +242,6 @@
|
||||
width: calc(48% - 12px);
|
||||
}
|
||||
|
||||
.media-modal-content .attachments-browser .media-toolbar-secondary {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
.media-modal-content .media-toolbar-primary.search-form {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.media-modal-content .media-toolbar-primary .media-button {
|
||||
float: left;
|
||||
}
|
||||
@ -279,6 +271,20 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.media-frame-toolbar .media-toolbar {
|
||||
top: initial;
|
||||
bottom: -45px;
|
||||
height: auto;
|
||||
overflow: initial;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.media-frame-toolbar .media-toolbar {
|
||||
bottom: -48px;
|
||||
}
|
||||
}
|
||||
|
||||
.media-toolbar-primary {
|
||||
float: left;
|
||||
height: 100%;
|
||||
@ -686,7 +692,6 @@
|
||||
overflow: auto;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.media-frame-toolbar {
|
||||
@ -696,6 +701,8 @@
|
||||
bottom: 0;
|
||||
height: 60px;
|
||||
z-index: 100;
|
||||
bottom: 60px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.media-frame.hide-menu .media-frame-title,
|
||||
|
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
@ -242,14 +242,6 @@
|
||||
width: calc(48% - 12px);
|
||||
}
|
||||
|
||||
.media-modal-content .attachments-browser .media-toolbar-secondary {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
.media-modal-content .media-toolbar-primary.search-form {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.media-modal-content .media-toolbar-primary .media-button {
|
||||
float: right;
|
||||
}
|
||||
@ -279,6 +271,20 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.media-frame-toolbar .media-toolbar {
|
||||
top: initial;
|
||||
bottom: -45px;
|
||||
height: auto;
|
||||
overflow: initial;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.media-frame-toolbar .media-toolbar {
|
||||
bottom: -48px;
|
||||
}
|
||||
}
|
||||
|
||||
.media-toolbar-primary {
|
||||
float: right;
|
||||
height: 100%;
|
||||
@ -686,7 +692,6 @@
|
||||
overflow: auto;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.media-frame-toolbar {
|
||||
@ -696,6 +701,8 @@
|
||||
bottom: 0;
|
||||
height: 60px;
|
||||
z-index: 100;
|
||||
bottom: 60px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.media-frame.hide-menu .media-frame-title,
|
||||
|
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
|
||||
*/
|
||||
$wp_version = '4.7.4-alpha-40427';
|
||||
$wp_version = '4.7.4-alpha-40429';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user