Fixed drop box styles
This commit is contained in:
parent
d7c61078c1
commit
af477a3268
@ -1858,9 +1858,8 @@ span.emoji {
|
|||||||
.im_send_dropbox_wrap {
|
.im_send_dropbox_wrap {
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
display: none;
|
display: none;
|
||||||
padding: 15px 10px;
|
padding: 17px 10px 0;
|
||||||
margin: 1px;
|
border: 1px dashed #999;
|
||||||
border-radius: 4px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -1312,7 +1312,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
if (e.type == 'dragenter' || e.type == 'dragover') {
|
if (e.type == 'dragenter' || e.type == 'dragover') {
|
||||||
if (dragStateChanged) {
|
if (dragStateChanged) {
|
||||||
$(dropbox)
|
$(dropbox)
|
||||||
.css({height: $(editorElement).height() + 12, width: $(editorElement).width() + 12})
|
.css({height: editorElement.offsetHeight + 2, width: editorElement.offsetWidth})
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user