Last active
December 1, 2022 12:24
-
-
Save cyrus01337/10ae22b58b8828504f638973724aed53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--default-emoji-size: 1.375rem; | |
--default-emoji-jumboable-size: 3rem; | |
--emoji-size: calc(var(--default-emoji-size) * 2); | |
--emoji-jumboable-size: calc(var(--default-emoji-jumboable-size) * 2); | |
} | |
/* Change emoji size */ | |
[class*="messageContent"]:not([class*="repliedTextContent"]) .emoji { | |
height: var(--emoji-size) !important; | |
width: var(--emoji-size) !important; | |
} | |
/* Change emoji size when jumboified */ | |
[class*="messageContent"]:not([class*="repliedTextContent"]) .jumboable { | |
height: var(--emoji-jumboable-size) !important; | |
width: var(--emoji-jumboable-size) !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment