TIL: Learned about debugging in Obsidian and adding custom CSS
Today when I was checking out preview mode for one of my notes I noticed that emojis were taking complete line instead of staying in the ...
Today when I was checking out preview mode for one of my notes I noticed that emojis were taking complete line instead of staying in the ...
Today when I was checking out preview mode for one of my notes I noticed that emojis were taking complete line instead of staying in the same line which annoyed me because it was looking really weird. After a bit of googling I figured out that it was because the emojis in Obsidian are rendered as <image> tags as it was currently taking display: block.
.emoji{
display: inline-block
}
Adding the above snippet solves the problem as it makes the display inline-block which doesn’t use separate line.