Skip to content

Commit 24ce1c8

Browse files
arschmitzjzaefferer
authored andcommitted
Dialog: Updating demo style based on changes to theme and demo CSS
Fixes #10693 Closes jquery#1385
1 parent fe75984 commit 24ce1c8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

demos/dialog/modal-confirmation.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
$(function() {
1818
$( "#dialog-confirm" ).dialog({
1919
resizable: false,
20-
height:140,
20+
height: "auto",
21+
width: 400,
2122
modal: true,
2223
buttons: {
2324
"Delete all items": function() {
@@ -34,7 +35,7 @@
3435
<body>
3536

3637
<div id="dialog-confirm" title="Empty the recycle bin?">
37-
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
38+
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:12px 12px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
3839
</div>
3940

4041
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>

demos/dialog/modal-form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
dialog = $( "#dialog-form" ).dialog({
9595
autoOpen: false,
96-
height: 300,
96+
height: 400,
9797
width: 350,
9898
modal: true,
9999
buttons: {

0 commit comments

Comments
 (0)