From: aaronpeterson Date: Thu, 30 Dec 2010 15:41:04 +0000 (-0800) Subject: Dialog: Fixed positioning of title bar text. Fixes #6832 - Dialog: Typesetting on... X-Git-Tag: 1.9m4~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1372ea8c62200f027ee4037c3bb3678cd221339;p=jquery-ui.git Dialog: Fixed positioning of title bar text. Fixes #6832 - Dialog: Typesetting on title bar is inconsistent with other widget title bars/headers. --- diff --git a/themes/base/jquery.ui.dialog.css b/themes/base/jquery.ui.dialog.css index 035464447..751ff5226 100644 --- a/themes/base/jquery.ui.dialog.css +++ b/themes/base/jquery.ui.dialog.css @@ -8,8 +8,8 @@ * http://docs.jquery.com/UI/Dialog#theming */ .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } +.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }