]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Remove overflow: hidden and reposition resize handles 1439/head
authorTJ VanToll <tj.vantoll@gmail.com>
Wed, 28 Jan 2015 18:31:59 +0000 (13:31 -0500)
committerTJ VanToll <tj.vantoll@gmail.com>
Wed, 28 Jan 2015 18:38:36 +0000 (13:38 -0500)
Fixes #10543
Closes gh-1439

themes/base/dialog.css

index 10c89d0b8acbb038cd40e2b102e517e03545d692..7146fe95364b515e2e35147ba14d7796c279ee60 100644 (file)
@@ -9,7 +9,6 @@
  * http://api.jqueryui.com/dialog/#theming
  */
 .ui-dialog {
-       overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        margin: .5em .4em .5em 0;
        cursor: pointer;
 }
+.ui-dialog .ui-resizable-n {
+       height: 2px;
+       top: 0;
+}
+.ui-dialog .ui-resizable-e {
+       width: 2px;
+       right: 0;
+}
+.ui-dialog .ui-resizable-s {
+       height: 2px;
+       bottom: 0;
+}
+.ui-dialog .ui-resizable-w {
+       width: 2px;
+       left: 0;
+}
+.ui-dialog .ui-resizable-se,
+.ui-dialog .ui-resizable-sw,
+.ui-dialog .ui-resizable-ne,
+.ui-dialog .ui-resizable-nw {
+       width: 7px;
+       height: 7px;
+}
 .ui-dialog .ui-resizable-se {
-       width: 12px;
-       height: 12px;
-       right: -5px;
-       bottom: -5px;
-       background-position: 16px 16px;
+       right: 0;
+       bottom: 0;
+}
+.ui-dialog .ui-resizable-sw {
+       left: 0;
+       bottom: 0;
+}
+.ui-dialog .ui-resizable-ne {
+       right: 0;
+       top: 0;
+}
+.ui-dialog .ui-resizable-nw {
+       left: 0;
+       top: 0;
 }
 .ui-draggable .ui-dialog-titlebar {
        cursor: move;