52 lines
913 B
SCSS
52 lines
913 B
SCSS
/*
|
||
* https://github.com/morethanwords/tweb
|
||
* Copyright (C) 2019-2021 Eduard Kuzmenko
|
||
* https://github.com/morethanwords/tweb/blob/master/LICENSE
|
||
*/
|
||
|
||
.custom-emoji {
|
||
display: inline;
|
||
width: var(--custom-emoji-size);
|
||
height: var(--custom-emoji-size);
|
||
min-height: var(--custom-emoji-size);
|
||
min-width: var(--custom-emoji-size);
|
||
position: relative;
|
||
// pointer-events: none;
|
||
|
||
&:before {
|
||
content: " ";
|
||
display: inline-block;
|
||
width: inherit;
|
||
height: inherit;
|
||
min-width: inherit;
|
||
min-height: inherit;
|
||
}
|
||
|
||
.media-sticker,
|
||
.rlottie {
|
||
margin: 0;
|
||
width: inherit !important;
|
||
height: inherit !important;
|
||
}
|
||
|
||
&-canvas {
|
||
width: 100%;
|
||
height: 100%;
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
&-renderer {
|
||
pointer-events: none;
|
||
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
}
|