diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-11-06 14:41:44 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-11-06 14:41:44 -0500 |
commit | 59865715fbec0462a0cc872195b44d3e3704a24b (patch) | |
tree | 690d2371a69b25b63529b69ecbdad3fa4dee6d73 /themes/base | |
parent | 4995ea05fef171bc6cb2f941f062997d2cab76a4 (diff) | |
download | jquery-ui-59865715fbec0462a0cc872195b44d3e3704a24b.tar.gz jquery-ui-59865715fbec0462a0cc872195b44d3e3704a24b.zip |
Dialog: Set top and left properties in the default styles to avoid a bug in core. Fixes #8741 - Dialog: dialog with position:fixed goes offscreen when opening after scrolling down since v 1.9.0.
Diffstat (limited to 'themes/base')
-rw-r--r-- | themes/base/jquery.ui.dialog.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/base/jquery.ui.dialog.css b/themes/base/jquery.ui.dialog.css index 4c54829e2..2f523b30c 100644 --- a/themes/base/jquery.ui.dialog.css +++ b/themes/base/jquery.ui.dialog.css @@ -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; } |