From 99e6a95331b6fa6a3219af1d92db0fbd045c8b95 Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Fri, 13 Oct 2017 14:39:00 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/forms.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 665e6c0af8..a059fffb36 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -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%;