Improve File Credentials / Code Editor modal responsive styles.

Makes the modal full-width and height. 

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


git-svn-id: https://develop.svn.wordpress.org/trunk@41854 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mel Choyce 2017-10-13 14:39:00 +00:00
parent 5ea6f41597
commit 99e6a95331
1 changed files with 4 additions and 3 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%;