SlRvb / Obsidian--ITS-Theme

Theme designed with readability and customizability in mind. Change it easily to your liking with the Style Settings plugin installed.
https://publish.obsidian.md/slrvb-docs/ITS+Theme/ITS+Theme
GNU General Public License v2.0
545 stars 116 forks source link

Frontmatter with long keyword #67

Closed Missionary-OSBS closed 2 years ago

Missionary-OSBS commented 2 years ago

Describe the bug

In YAML - frontmatter, when you use a long keyword, it will cut off and jump down a line.

Expected behavior Long keywords should still stay in their line without jumping down a line, as expected in default theme.

To Reproduce

Steps to reproduce the behavior:

  1. Create a YAML
  2. Type a long keyword, such as "occupation"
  3. Change to Preview mode
  4. See error

Screenshots

Error in ITS theme 2022-02-15 at 05 00 18 PM (Obsidian)

Normal YAML in default theme 2022-02-15 at 05 00 35 PM (Obsidian)

OS

Where does the bug occur?

Obsidian Version: v0.13.24

SlRvb commented 2 years ago

I've reverted my styling on the frontmatter as it was hacky and prone to errors like these.

Should look like the default theme's frontmatter now. c9d3462

Missionary-OSBS commented 2 years ago

Thanks a bunch, now it looks fantastic.

Cheers, Missionary