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
521 stars 113 forks source link

[Bug] Incorrect display of subscript and superscript, when Center Header With Lines is ON #239

Open AusVox opened 11 months ago

AusVox commented 11 months ago

Describe the bug

When "Center Header With Lines" is ON the subscripts and superscripts move to the same height as the line.

Expected behavior Subscript and superscript displayed under and over letters as with default settings.

To Reproduce

Steps to reproduce the behavior:

  1. Turn off the "Center Header With Lines" in Style Settings or cssclass.
  2. Write something like I64 I<sub>64</sub>
  3. Turn on the centering
  4. See numbers move
  5. Error

Screenshots

image image

OS

Where does the bug occur?

Versions

Additional context

Add any other context about the problem here.

SlRvb commented 10 months ago

Could you update to ITS v1.1.06? I believe that should be somewhat fixed there

AusVox commented 10 months ago

Updated, not fixed

AusVox commented 10 months ago

Update removed coloring from my mermaid diagram ._.

mermaid
flowchart LR
A([90])
style A stroke:#611, stroke-width:2px

stroke:#611 does nothing now

SlRvb commented 10 months ago

I can't seem to recreate my fix not working could you send a screenshot and the markdown for yours that doesn't work?

Also ITS v1.1.11 should fix that mermaid styling issue 🙈

AusVox commented 10 months ago

Sorry, I was watching in a wrong place. It's better, but numbers display with a gap. Can this be fixed? image image