From 5c6ec683898233c6f84df306d519a50b5d24fe1e Mon Sep 17 00:00:00 2001 From: Naomi Guyer Date: Mon, 25 Jun 2012 17:35:05 +1200 Subject: [PATCH] BUGFIX: Min-width on html dialog box (fixes #7541) --- admin/css/screen.css | 2 ++ admin/scss/_style.scss | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/admin/css/screen.css b/admin/css/screen.css index 5b82ec918..a49672b11 100644 --- a/admin/css/screen.css +++ b/admin/css/screen.css @@ -516,6 +516,8 @@ form.member-profile-form .ui-tabs-nav .ui-corner-all, form.member-profile-form . .cms .ui-widget-overlay { background-color: #000; background-image: none; } +.cms .ui-dialog { min-width: 570px; } +.cms .ui-dialog .htmleditorfield-dialog { min-width: 570px; } .cms .ui-dialog .ss-ui-dialog.ui-dialog-content { padding-top: 0px; } .ui-dialog { background: url("../images/textures/bg_cms_main_content.png") repeat left top #f0f3f4; border: 3px solid #000 !important; border-radius: 8px; overflow: visible; padding: 0; } diff --git a/admin/scss/_style.scss b/admin/scss/_style.scss index d0498374b..8726c9678 100644 --- a/admin/scss/_style.scss +++ b/admin/scss/_style.scss @@ -1280,8 +1280,14 @@ form.member-profile-form { background-image: none; } -.cms .ui-dialog .ss-ui-dialog.ui-dialog-content { - padding-top: 0px; //removes padding so that tabs are flush with header +.cms .ui-dialog{ + min-width:570px; + .htmleditorfield-dialog{ + min-width:570px; + } + .ss-ui-dialog.ui-dialog-content { + padding-top: 0px; //removes padding so that tabs are flush with header + } } // Elements with this class can either frame inline markup or an iframe,