Fix margins for every emoji set (#585)

Custom emojis, when displayed as icons in every page and in the left sidebar of Notion, are a bit misaligned. This is not the case for the emojis in the page content. Just specific places when they act like icons. They are a few pixels off but it triggers an OCD in me 🤣

This fixes it and it looks awesome. Precisely aligned as the default emoji set.
This commit is contained in:
Alejandro Romano 2021-10-18 08:05:35 -03:00 committed by GitHub
parent 63bf82507f
commit 0198e29f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
mods/emoji-sets/app.css Normal file
View File

@ -0,0 +1,11 @@
/*
* emoji sets
* (c) 2020 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (c) this css fix was provided by Arecsu from martyr (https://martyr.shop/)
* under the MIT license
*/
div.notion-record-icon [style*='Apple Color Emoji'] {
display: flex;
justify-content: center;
}