this should prevent emoji from being italics
All checks were successful
/ weblog.lol (push) Successful in 9s

This commit is contained in:
Gordon Pedersen 2024-05-09 10:46:39 +00:00
parent 2e2df298eb
commit f9c959bd9d

View file

@ -140,11 +140,12 @@ iframe {
display: inline-block; display: inline-block;
font-size: 2em; font-size: 2em;
min-width: 1em; min-width: 1em;
font-style: normal;
} }
[data-emoji]::before { [data-emoji]::before {
content: attr(data-emoji); content: attr(data-emoji);
font-style: none; font-stye: normal;
} }
[data-emoji='{emoji}'] { [data-emoji='{emoji}'] {