diff --git a/app/css/app.css b/app/css/app.css index 79068019..31d36c6d 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -1858,9 +1858,8 @@ span.emoji { .im_send_dropbox_wrap { background: #FFF; display: none; - padding: 15px 10px; - margin: 1px; - border-radius: 4px; + padding: 17px 10px 0; + border: 1px dashed #999; overflow: hidden; text-align: center; color: #999; diff --git a/app/js/directives.js b/app/js/directives.js index 051bf7c9..6d919047 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -1312,7 +1312,7 @@ angular.module('myApp.directives', ['myApp.filters']) if (e.type == 'dragenter' || e.type == 'dragover') { if (dragStateChanged) { $(dropbox) - .css({height: $(editorElement).height() + 12, width: $(editorElement).width() + 12}) + .css({height: editorElement.offsetHeight + 2, width: editorElement.offsetWidth}) .show(); } } else {