Improve File Credentials / Code Editor modal responsive styles.

Makes the modal full-width and height. 

Props sami.keijonen, Mirucon, helen.
Fixes #42111.

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


git-svn-id: http://core.svn.wordpress.org/trunk@41688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mel Choyce
2017-10-13 14:39:54 +00:00
parent 8af4e6e3f9
commit af6d136163
7 changed files with 13 additions and 11 deletions

View File

@@ -1365,9 +1365,10 @@ table.form-table td .updated p {
}
}
@media only screen and (max-height: 480px) {
/* Request Credentials */
.request-filesystem-credentials-dialog .notification-dialog{
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
/* Request Credentials / File Editor Warning */
.request-filesystem-credentials-dialog .notification-dialog,
.file-editor-warning .notification-dialog {
width: 100%;
height: 100%;
max-height: 100%;