primary-theme / obsidian

Comfy, playful but productive theme for Obsidian. "Primary instantly puts you in a relaxed state that opens the door to creativity and exploration. Wonderfully executed down to the smallest details,"
GNU General Public License v3.0
846 stars 38 forks source link

WIP: fix(md-tags): 🐛 change .cm-hashtag from inline-block to inline. #160

Closed hellerbarde closed 1 year ago

hellerbarde commented 1 year ago

For tags, the hash character is in a separate span element, which, together with the display: inline-block property can lead to an incorrect line break between the hash character and the tag text. If we use display: inline instead of inline-block, the normal text-breaking rules apply, and all is well.

closes ceciliamay/obsidianmd-theme-primary#73

I don't have a good way to test all edge cases for this. I'm new to obsidian theme development and obsidian in general. I'm not sure where these tags can be displayed.

Also, my sass compiler seems to have some different opinion on whitespace. I'm not sure how to fix that. Advice is appreciated.