From f88a7f2a425a9e6c8f67a6e1b28ab06174076653 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 9 Dec 2013 19:50:49 +0000 Subject: [PATCH] Themes: set maximum width for overlay view, props matveb, fixes #26507. git-svn-id: https://develop.svn.wordpress.org/trunk@26839 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index e72f777088..4f031dfa9e 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -7116,6 +7116,14 @@ body.folded .theme-overlay .theme-wrap { margin-right: 0; } } + +@media only screen and (min-width: 1680px) { + .theme-overlay .theme-wrap { + width: 1450px; + margin: 0 auto; + } +} + /* Maximum screenshot width reaches 440px */ @media only screen and (min-width: 1640px) { .theme-browser .theme { @@ -7133,11 +7141,6 @@ body.folded .theme-overlay .theme-wrap { .theme-browser .theme:nth-child(4n) { margin-right: 0; } - - body.folded .theme-overlay .theme-wrap { - right: 15%; - left: 22%; - } } /* Maximum screenshot width reaches 440px */ @media only screen and (max-width: 1120px) {