Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/visual/dialog/complex-dialogs.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
<script src="../../../ui/jquery.ui.autocomplete.js"></script>
<script src="../../../ui/jquery.ui.tooltip.js"></script>

<style>
body {
font-size: 62.5%;
}
</style>
<script>
$(function() {
var dialog = $( "#dialog" ).dialog({
Expand Down Expand Up @@ -98,7 +103,7 @@

<button id="open-dialog">Reopen dialog</button>

<div id="dialog" title="Basic dialog">
<div id="dialog" title="Basic dialog, but with a really long title that doesn't quite fit.">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
<p><button id="open-datepicker">Open another window with a datepicker.</button></p>
<p><button id="destroy-dialog">Self destruct</button></p>
Expand Down
4 changes: 4 additions & 0 deletions themes/base/jquery.ui.dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down