diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-12-23 22:01:18 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-12-23 22:01:18 -0500 |
commit | 995472e31c181c729944d2bd9f2c4af5453705e3 (patch) | |
tree | 0dbf6d35b739c54f2281499239c0ed102f325c9b /views/default | |
parent | a9394e1035147e3910b2dc3cf156b0361ea791cc (diff) | |
download | elgg-995472e31c181c729944d2bd9f2c4af5453705e3.tar.gz elgg-995472e31c181c729944d2bd9f2c4af5453705e3.tar.bz2 |
Fixes #4186 restricting the drag handle for widgets
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/css/admin.php | 3 | ||||
-rw-r--r-- | views/default/css/elements/modules.php | 2 | ||||
-rw-r--r-- | views/default/object/widget.php | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/views/default/css/admin.php b/views/default/css/admin.php index dc1b503cb..065a108b1 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -915,6 +915,9 @@ a.elgg-button { height: 26px; overflow: hidden; } +.elgg-module-widget.elgg-state-draggable .elgg-widget-handle { + cursor: move; +} .elgg-module-widget > .elgg-head h3 { float: left; padding: 4px 45px 0 20px; diff --git a/views/default/css/elements/modules.php b/views/default/css/elements/modules.php index 7750c208f..74092c774 100644 --- a/views/default/css/elements/modules.php +++ b/views/default/css/elements/modules.php @@ -155,7 +155,7 @@ padding: 4px 45px 0 20px; color: #666; } -.elgg-module-widget.elgg-state-draggable > .elgg-head { +.elgg-module-widget.elgg-state-draggable .elgg-widget-handle { cursor: move; } a.elgg-widget-collapse-button { diff --git a/views/default/object/widget.php b/views/default/object/widget.php index f84c44e1c..8c7ec2a03 100644 --- a/views/default/object/widget.php +++ b/views/default/object/widget.php @@ -55,8 +55,9 @@ if ($can_edit) { } $widget_header = <<<HEADER - <h3>$title</h3> + <div class="elgg-widget-handle"><h3>$title</h3> $controls + </div> HEADER; $widget_body = <<<BODY |