Make emojis a lil' bigger, fix emojis being very big when content is only emojis

This commit is contained in:
Alex Gleason 2022-11-25 16:19:32 -06:00
parent 32938930d5
commit 020bcb4d45
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -58,6 +58,11 @@
@apply mb-0; @apply mb-0;
} }
/* Emojis */
[data-markup] img.emojione {
@apply w-5 h-5;
}
/* Markdown images */ /* Markdown images */
[data-markup] img:not(.emojione):not([width][height]) { [data-markup] img:not(.emojione):not([width][height]) {
@apply w-full h-72 object-contain rounded-lg overflow-hidden my-4 block; @apply w-full h-72 object-contain rounded-lg overflow-hidden my-4 block;
@ -68,7 +73,7 @@ body.underline-links [data-markup] a {
@apply underline; @apply underline;
} }
[data-markup] .big-emoji img.emojione { [data-markup].big-emoji img.emojione {
@apply inline w-9 h-9 p-1; @apply inline w-9 h-9 p-1;
} }