[BUG] Icons provided by Icon Shortcodes appear off the bottom of the line
jmccance opened this issue ยท 3 comments
Describe the bug
When using aidenx/obsidian-icon-shortcodes., non-emoji icons are aligned with the top of the icon on the bottom of the line. (See screenshots.
To Reproduce
Steps to reproduce the behavior:
- Install "Icon Shortcodes" community plugin
- Enable Spectrum theme
- Type
Some text :luc-github
and hit enter to select the icon. - Observe alignment issues
Expected behavior
The icon be aligned with other text on the line.
Screenshots
Given this text:
Text aligns properly
๐๐๐ Align more-or-less properly, but overlap
:luc_github::fas_folder:Icons provided by icon-shortcodes are misaligned and also overlap
Spectrum renders like this:
While the default theme renders like this:
Desktop (please complete the following information):
- OS: macOS 12.2.1
- Obsidian Version: v0.13.31
Additional context
I recognize this might not specifically be an issue with Spectrum, and might actually be a bug with the Icon Shortcodes plugin or just a weird interaction between Spectrum and the plugin. I decided to start with an issue here, since it seems to not occur when using the default theme.
I will have to investigate the styling of the icons to make a fix. I will take a look.
Should be fixed now.
Thank you! ๐ Confirmed it's working as expected for me now.