Skip to content

Commit 99e6a95

Browse files
committed
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
1 parent 5ea6f41 commit 99e6a95

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/wp-admin/css/forms.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,9 +1365,10 @@ table.form-table td .updated p {
13651365
}
13661366
}
13671367

1368-
@media only screen and (max-height: 480px) {
1369-
/* Request Credentials */
1370-
.request-filesystem-credentials-dialog .notification-dialog{
1368+
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
1369+
/* Request Credentials / File Editor Warning */
1370+
.request-filesystem-credentials-dialog .notification-dialog,
1371+
.file-editor-warning .notification-dialog {
13711372
width: 100%;
13721373
height: 100%;
13731374
max-height: 100%;

0 commit comments

Comments
 (0)