]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Set top and left properties in the default styles to avoid a bug in core...
authorScott González <scott.gonzalez@gmail.com>
Tue, 6 Nov 2012 19:41:44 +0000 (14:41 -0500)
committerScott González <scott.gonzalez@gmail.com>
Tue, 6 Nov 2012 19:41:44 +0000 (14:41 -0500)
themes/base/jquery.ui.dialog.css

index 4c54829e28642b53614f2eeabd41bb7fb9874f4c..2f523b30c50e9bb82bd47a13057b6bc6e552399c 100644 (file)
@@ -8,7 +8,7 @@
  *
  * http://docs.jquery.com/UI/Dialog#theming
  */
-.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; outline: 0; }
+.ui-dialog { position: absolute; top: 0; left: 0; padding: .2em; width: 300px; overflow: hidden; outline: 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; }