Skip to content

Commit 912eb62

Browse files
committed
Dialog: Remove overflow: hidden and reposition resize handles
Fixes #10543 Closes jquerygh-1439
1 parent 9493839 commit 912eb62

File tree

1 file changed

+37
-6
lines changed

1 file changed

+37
-6
lines changed

themes/base/dialog.css

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* http://api.jqueryui.com/dialog/#theming
1010
*/
1111
.ui-dialog {
12-
overflow: hidden;
1312
position: absolute;
1413
top: 0;
1514
left: 0;
@@ -58,12 +57,44 @@
5857
margin: .5em .4em .5em 0;
5958
cursor: pointer;
6059
}
60+
.ui-dialog .ui-resizable-n {
61+
height: 2px;
62+
top: 0;
63+
}
64+
.ui-dialog .ui-resizable-e {
65+
width: 2px;
66+
right: 0;
67+
}
68+
.ui-dialog .ui-resizable-s {
69+
height: 2px;
70+
bottom: 0;
71+
}
72+
.ui-dialog .ui-resizable-w {
73+
width: 2px;
74+
left: 0;
75+
}
76+
.ui-dialog .ui-resizable-se,
77+
.ui-dialog .ui-resizable-sw,
78+
.ui-dialog .ui-resizable-ne,
79+
.ui-dialog .ui-resizable-nw {
80+
width: 7px;
81+
height: 7px;
82+
}
6183
.ui-dialog .ui-resizable-se {
62-
width: 12px;
63-
height: 12px;
64-
right: -5px;
65-
bottom: -5px;
66-
background-position: 16px 16px;
84+
right: 0;
85+
bottom: 0;
86+
}
87+
.ui-dialog .ui-resizable-sw {
88+
left: 0;
89+
bottom: 0;
90+
}
91+
.ui-dialog .ui-resizable-ne {
92+
right: 0;
93+
top: 0;
94+
}
95+
.ui-dialog .ui-resizable-nw {
96+
left: 0;
97+
top: 0;
6798
}
6899
.ui-draggable .ui-dialog-titlebar {
69100
cursor: move;

0 commit comments

Comments
 (0)