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
553 stars 115 forks source link

[Bug] Statblock Admonition #276

Closed skellyjelly closed 7 months ago

skellyjelly commented 8 months ago

Describe the bug

Hi there, something seems to be happening with the ITS theme and a "statblock" Admonition. It doesn't happen on the default or other themes, and still happens with all CSS snippets disabled.

Expected behavior The first image shows what it should look like, the second is what it currently looks like. Basically it's made to be very narrow and missing the title of the admonition. Other admonitions seem to be fine, it's just this one and just on ITS. If I were to rename the admonition to "Statblock" with a capital S it no longer happens.

goblin1 goblin2

Then again here is what the Admonition looks like in another theme and in ITS. image1 image2

To Reproduce

Steps to reproduce the behavior: Using ad-statblock in a note.

Screenshots

If applicable, add screenshots to help explain your problem.

OS

Where does the bug occur?

Versions

Additional context

SlRvb commented 8 months ago

Oh... uh oh. I just released a statblock callout so Im guessing these two are conflicting now 🫣

Jacks-01 commented 8 months ago

Not sure if these two are related, but I'm inclined to think they are given how similar the styling looks. I created this statblock about a day ago:

image

And after updating to the most recent version the exact same code looks like this:

image

Not sure if this was a redesign or intended but I thought I would mention it just in case.

SlRvb commented 8 months ago

I have changed the callout name to statblocks instead to avoid it conflicting with these admonitions, so if you update my theme it should be fixed now!