Obsidian--ITS-Theme icon indicating copy to clipboard operation
Obsidian--ITS-Theme copied to clipboard

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

Open AusVox opened this issue 2 years ago • 5 comments
trafficstars

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?

  • [X] Desktop
  • [ ] Mobile

Versions

  • Obsidian Version: 1.3.7
  • ITS Theme Version: 1.1.02

Additional context

Add any other context about the problem here.

AusVox avatar Aug 10 '23 02:08 AusVox

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

SlRvb avatar Aug 18 '23 16:08 SlRvb

Updated, not fixed

AusVox avatar Aug 19 '23 04:08 AusVox

Update removed coloring from my mermaid diagram ._.

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

stroke:#611 does nothing now

AusVox avatar Aug 19 '23 04:08 AusVox

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 🙈

SlRvb avatar Aug 20 '23 05:08 SlRvb

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

AusVox avatar Aug 20 '23 14:08 AusVox