Fix sending recent sticker
This commit is contained in:
parent
99085abcd9
commit
a179dd3f09
@ -231,7 +231,7 @@ export default class StickersTab implements EmoticonsTab {
|
|||||||
//let stickersDiv = contentStickersDiv.querySelector('.os-content') as HTMLDivElement;
|
//let stickersDiv = contentStickersDiv.querySelector('.os-content') as HTMLDivElement;
|
||||||
|
|
||||||
this.recentDiv = document.createElement('div');
|
this.recentDiv = document.createElement('div');
|
||||||
this.recentDiv.classList.add('sticker-category', 'disable-hover');
|
this.recentDiv.classList.add('sticker-category', 'stickers-recent');
|
||||||
|
|
||||||
let menuWrapper = this.content.previousElementSibling as HTMLDivElement;
|
let menuWrapper = this.content.previousElementSibling as HTMLDivElement;
|
||||||
this.menu = menuWrapper.firstElementChild as HTMLUListElement;
|
this.menu = menuWrapper.firstElementChild as HTMLUListElement;
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
@include respond-to(esg-top) {
|
@include respond-to(esg-top) {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
@ -180,6 +181,12 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.stickers-recent {
|
||||||
|
.category-title {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* &::after {
|
/* &::after {
|
||||||
content: "";
|
content: "";
|
||||||
flex: auto;
|
flex: auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user