Media Grid: Improve dropzone margins when viewport height is <400px.

see #28851.
Built from https://develop.svn.wordpress.org/trunk@29304


git-svn-id: http://core.svn.wordpress.org/trunk@29086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-07-26 15:30:16 +00:00
parent a777a561fa
commit abbe1d0383
4 changed files with 18 additions and 22 deletions

View File

@ -1018,10 +1018,6 @@
display: none;
}
.attachments-browser .uploader-inline-content {
top: 0;
}
.uploader-inline .close {
background-color: transparent;
border: 0;
@ -2403,19 +2399,20 @@
height: auto;
}
.uploader-inline h3 {
margin: 0 0 .8em 0;
}
.uploader-inline-content {
top: auto;
}
.uploader-inline-content .upload-ui {
margin: 0;
margin: 1em 0;
}
.attachments-browser .attachments, .attachments-browser .uploader-inline {
.uploader-inline-content .post-upload-ui {
margin-bottom: 1em;
}
.attachments-browser .attachments,
.attachments-browser .uploader-inline {
position: relative;
margin-left: 180px;
}
@ -2589,6 +2586,7 @@
.media-frame.mode-grid .attachments-browser .bulk-select {
display: inline-block;
margin: 0 0 0 10px;
}
/**

File diff suppressed because one or more lines are too long

View File

@ -1018,10 +1018,6 @@
display: none;
}
.attachments-browser .uploader-inline-content {
top: 0;
}
.uploader-inline .close {
background-color: transparent;
border: 0;
@ -2403,19 +2399,20 @@
height: auto;
}
.uploader-inline h3 {
margin: 0 0 .8em 0;
}
.uploader-inline-content {
top: auto;
}
.uploader-inline-content .upload-ui {
margin: 0;
margin: 1em 0;
}
.attachments-browser .attachments, .attachments-browser .uploader-inline {
.uploader-inline-content .post-upload-ui {
margin-bottom: 1em;
}
.attachments-browser .attachments,
.attachments-browser .uploader-inline {
position: relative;
margin-right: 180px;
}
@ -2589,6 +2586,7 @@
.media-frame.mode-grid .attachments-browser .bulk-select {
display: inline-block;
margin: 0 10px 0 0;
}
/**

File diff suppressed because one or more lines are too long