javalent / fantasy-statblocks

Create Dungeons and Dragons style statblocks for Obsidian.md
MIT License
341 stars 71 forks source link

Centered headers with lines not working in the ITS Theme when fantasy statblocks is also installed #332

Closed ActualPlayer closed 6 months ago

ActualPlayer commented 6 months ago

Check for existing bug reports before submitting.

Expected Behavior

The header is centered with a line in front and a line at the back of the header. image

Current behaviour

The header is not centered and only a line at the back is shown. image

Reproduction

  1. Launch a clean vault in obsidian
  2. Install the ITS theme and fantasy statblocks plugin
  3. Create a new note and add the hcl css class
  4. Create a header
  5. Open the note in reading mode
  6. Header is not centered

If you uninstall or disable the fantasy statblocks plugin, the title gets centered in reading mode

Which Operating Systems are you using?

Obsidian Version Check

1.5.3 and 1.4.16

Plugin Version

3.16.2

Confirmation

Possible solution

A conflict in classes used by the theme and the plugin perhaps?

valentine195 commented 6 months ago

Is this using a theme? If so, you should probably open an issue with the theme, or set up a CSS snippet to fix it. Unfortunately I cannot control themes.