From: Scott González Date: Sun, 14 Mar 2010 17:23:37 +0000 (+0000) Subject: Dialog: Removed relative positioning from content div. X-Git-Tag: 1.8~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c75abc5e9add71f29ea4604a323c4de916df46e3;p=jquery-ui.git Dialog: Removed relative positioning from content div. Fixes #5323 - dialog content shifts when dialog resized from top or left. --- diff --git a/themes/base/jquery.ui.dialog.css b/themes/base/jquery.ui.dialog.css index 29c4dde13..f8354642a 100644 --- a/themes/base/jquery.ui.dialog.css +++ b/themes/base/jquery.ui.dialog.css @@ -6,7 +6,7 @@ .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; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }