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
531 stars 112 forks source link

Embedded Inline Code oversized #118

Closed Missionary2112 closed 2 years ago

Missionary2112 commented 2 years ago

Describe the bug

Embedded files with Inline Code will display the code in bigger font than normal.

Expected behavior The embedded Inline Code should display normal font size

To Reproduce

Steps to reproduce the behavior:

  1. Create a new file with Inline Code
  2. Embed the file
  3. See error: The Embedded Inline Code displayed bigger font.

Screenshots

Screenshot - 2022-07-08 20 39 55 (Obsidian)

OS

Where does the bug occur?

Obsidian Version: v0.15.5

SlRvb commented 2 years ago

I can't seem to replicate the issue 🤔 Does this happen in the sandbox vault?

Obsidian_TcsCXxVfPn

Missionary2112 commented 2 years ago

I mean Inline code not Codeblock. You could try typing anything inside double `

Screenshot - 2022-07-10 16 26 25 (Obsidian)

SlRvb commented 2 years ago

Still can't seem to replicate that on my end 🤔 Obsidian_FjWJGIfPbt

Please try doing that in the Sandbox vault and let me know if the size is still large in embeds

Missionary2112 commented 2 years ago

Yeah it's weird 🤔. Only my main vault is affected.

SlRvb commented 2 years ago

I'd say if you turn on restricted mode/safe mode, reload your vault and see if it's still happening (just to be sure that all the plugins are properly unloaded). I think a plugin might be causing this strange behavior but not sure which one 🤔

Missionary2112 commented 2 years ago

My back! I realize what I did wrong. I embedded the file as heading (E.g. #### ![[file.name]]) as I would like to navigate all my journals in Outline pane.

As the result the Inline Code gets bigger font, but what strange was that the Inline Code did not get bigger in other themes. Could we have option for this 🤔?

SlRvb commented 2 years ago

I think I know what's going wrong and I should be able to fix it without needing an option for it 🤔

SlRvb commented 2 years ago

Should be fixed now \:) 9b7fb35f6b3063fb95d08a56fc5b56c2a11d6cfb

Missionary2112 commented 2 years ago

Thank you. It looks neat now :)