Improved dropbox on mobile view

Closes #1017
This commit is contained in:
Igor Zhukov 2016-02-08 17:40:19 +00:00
parent 18a8106c85
commit ff6525da35
2 changed files with 14 additions and 2 deletions

View File

@ -1728,7 +1728,9 @@ angular.module('myApp.directives', ['myApp.filters'])
if (e.type == 'dragenter' || e.type == 'dragover') {
if (dragStateChanged) {
$(emojiButton).hide();
if (!Config.Mobile) {
$(emojiButton).hide();
}
$(dropbox)
.css({height: messageFieldWrap.offsetHeight + 2, width: messageFieldWrap.offsetWidth})
.show();
@ -1742,7 +1744,9 @@ angular.module('myApp.directives', ['myApp.filters'])
}
dragTimeout = setTimeout(function () {
$(dropbox).hide();
$(emojiButton).show();
if (!Config.Mobile) {
$(emojiButton).show();
}
dragStarted = false;
dragTimeout = false;
}, 300);

View File

@ -1806,6 +1806,14 @@ a.media_modal_date:hover {
padding: 6px 7px;
top: 0;
}
.im_send_dropbox_wrap {
padding: 5px 10px;
font-size: 15px;
line-height: 22px;
}
.im_send_field_panel {
position: relative;
}