diff --git a/app/helpers/boxes_helper.rb b/app/helpers/boxes_helper.rb
index b339f8f..d902ba5 100644
--- a/app/helpers/boxes_helper.rb
+++ b/app/helpers/boxes_helper.rb
@@ -202,8 +202,9 @@ module BoxesHelper
# makes the given block draggable so it can be moved away.
def block_handle(block)
return "" unless modifiable?(block)
+ icon = "
#{display_icon(block.class)}
#{_(block.class.pretty_name)} "
block_draggable("block-#{block.id}",
- :helper => "function() {return cloneDraggableBlock($(this), '#{display_icon(block.class)}')}")
+ :helper => "function() {return cloneDraggableBlock($(this), '#{icon}')}")
end
def block_draggable(element_id, options={})
diff --git a/public/stylesheets/block-store.css b/public/stylesheets/block-store.css
index d72700b..d5c6c08 100644
--- a/public/stylesheets/block-store.css
+++ b/public/stylesheets/block-store.css
@@ -66,7 +66,7 @@
margin-right: auto;
margin-left: auto;
}
-#block-store-draggables .block-type, #block-store-draggables .block, #block-store-draggables .block-type-icon {
+#block-store-draggables .block-type, #block-store-draggables .block, #block-store-draggables .block-type-icon, #block-store-draggables .ui-draggable-dragging {
display: inline-block;
height: auto;
z-index: 100;
--
libgit2 0.21.2