Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
AusVox opened this issue Aug 10, 2023 · 5 comments
Open
1 of 2 tasks
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@AusVox
Copy link

AusVox commented Aug 10, 2023

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?

  • 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 AusVox added the bug Something isn't working label Aug 10, 2023
@SlRvb
Copy link
Owner

SlRvb commented Aug 18, 2023

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

@AusVox
Copy link
Author

AusVox commented Aug 19, 2023

Updated, not fixed

@AusVox
Copy link
Author

AusVox commented Aug 19, 2023

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
Copy link
Owner

SlRvb commented Aug 20, 2023

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
Copy link
Author

AusVox commented Aug 20, 2023

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

@SlRvb SlRvb added the help wanted Extra attention is needed label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Hiatus
Development

No branches or pull requests

2 participants