TelegramPWA/src/components/common/CustomEmoji.module.scss
2022-11-07 23:00:45 +04:00

52 lines
873 B
SCSS

.root {
display: inline-flex;
vertical-align: text-bottom;
width: var(--custom-emoji-size);
height: var(--custom-emoji-size);
position: relative;
border-radius: 0 !important;
&.with-grid-fix .media, &.with-grid-fix .thumb {
width: calc(100% + 1px) !important;
height: calc(100% + 1px) !important;
}
&:global(.custom-color) {
--emoji-status-color: var(--color-primary);
}
}
.thumb {
width: 100%;
height: 100%;
}
.media {
width: var(--custom-emoji-size) !important;
height: var(--custom-emoji-size) !important;
border-radius: 0 !important;
user-select: none !important;
:global(canvas) {
width: 100% !important;
height: 100% !important;
}
}
.highlightCatch {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
user-select: auto !important;
}
.altEmoji {
opacity: 0;
}