diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html index 5cd9271aef2..9cc2d1416c4 100644 --- a/tests/visual/dialog/complex-dialogs.html +++ b/tests/visual/dialog/complex-dialogs.html @@ -20,6 +20,11 @@ + $(function() { var dialog = $( "#dialog" ).dialog({ @@ -98,7 +103,7 @@ -
+

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

diff --git a/themes/base/jquery.ui.dialog.css b/themes/base/jquery.ui.dialog.css index 986ce8604dd..370c95da560 100644 --- a/themes/base/jquery.ui.dialog.css +++ b/themes/base/jquery.ui.dialog.css @@ -24,6 +24,10 @@ .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; } .ui-dialog .ui-dialog-titlebar-close { position: absolute;