Fixed dropbox for small screens
This commit is contained in:
parent
80e665d4a2
commit
91b45443f6
@ -1393,6 +1393,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) {
|
||||||
|
$(emojiButton).hide();
|
||||||
$(dropbox)
|
$(dropbox)
|
||||||
.css({height: messageFieldWrap.offsetHeight + 2, width: messageFieldWrap.offsetWidth})
|
.css({height: messageFieldWrap.offsetHeight + 2, width: messageFieldWrap.offsetWidth})
|
||||||
.show();
|
.show();
|
||||||
@ -1406,6 +1407,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
}
|
}
|
||||||
dragTimeout = setTimeout(function () {
|
dragTimeout = setTimeout(function () {
|
||||||
$(dropbox).hide();
|
$(dropbox).hide();
|
||||||
|
$(emojiButton).show();
|
||||||
dragStarted = false;
|
dragStarted = false;
|
||||||
dragTimeout = false;
|
dragTimeout = false;
|
||||||
}, 300);
|
}, 300);
|
||||||
|
@ -1350,6 +1350,11 @@ a.im_panel_peer_photo .peer_initials {
|
|||||||
margin-bottom: 7px;
|
margin-bottom: 7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.im_send_dropbox_wrap {
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Peer modals */
|
/* Peer modals */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user