From 52e1236cda6fc5485a1a53beb81f6e1b85f7dd1f Mon Sep 17 00:00:00 2001 From: Scott Jehl Date: Fri, 12 Dec 2008 19:14:50 +0000 Subject: [PATCH] changed close icon positioning to abs --- themes/base/ui.dialog.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/base/ui.dialog.css b/themes/base/ui.dialog.css index e6950cfae..eb5c33bac 100644 --- a/themes/base/ui.dialog.css +++ b/themes/base/ui.dialog.css @@ -1,9 +1,9 @@ /* Dialog ----------------------------------*/ .ui-dialog {position: relative; padding: .2em; width: 300px; } -.ui-dialog-titlebar { padding: .5em .3em .3em 1em; } -.ui-dialog-title { float: left; margin: 2px 0; } -.ui-dialog-titlebar-close { float: right; width: 19px; margin: -.2em 0 0 0; padding: 1px; height: 18px; } +.ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } +.ui-dialog-title { float: left; margin: .1em 0 .2em; } +.ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } .ui-dialog-titlebar-close span { display: block; margin: 1px; } .ui-dialog-titlebar-close:hover { padding: 0; } .ui-dialog-content {border: 0; padding: .5em 1em; background: none; }