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: Text shifts right on upper levels #215

Open
6 of 13 tasks
Pavel-N opened this issue Feb 24, 2023 · 1 comment
Open
6 of 13 tasks

Bug: Text shifts right on upper levels #215

Pavel-N opened this issue Feb 24, 2023 · 1 comment
Assignees
Labels
bug/issue Something isn't working

Comments

@Pavel-N
Copy link

Pavel-N commented Feb 24, 2023

Bug Description

When you create new line thats on lower level, the upper level moves right. This does not happen in edit mode. I noticed after last Obsidian update. This issue does not occur with other themes.

To Reproduce

Create notes on different levels

Expected behavior

Notes should appear the same in both edit mode and preview, without the text being shifted right.

Relevant Screenshot(s)

Preview:
image
Edit mode:
image

Obsidian Version

1.1.15

Installer Version

1.1.15

Font Size

20

Which editor are you using?

  • New Editor
  • Legacy Editor

In which mode(s) does the problem occur? (if applicable)

  • Reading View (Preview)
  • Editing View - Source Mode
  • Editing View - Live Preview

Which operating system?

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Checklist

  • I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
  • I made sure that the issue is related to this theme by checking that the problem does not occur with the default theme.
  • If the bug occured after updating the theme, I read the last couple Releases to make sure the bug is not an intentional change.

Additional Context

I only found one somewhat similar issue (#159) which had been caused by new Obsidian version, that renamed some classes. This may also be the case here.

@Pavel-N Pavel-N added the bug/issue Something isn't working label Feb 24, 2023
@Pavel-N
Copy link
Author

Pavel-N commented Feb 25, 2023

The issue appears to be this:

.markdown-rendered li:not(.task-list-item) .list-collapse-indicator {
  margin-left: -40px; /* This should be -80px */
}

I'm going to fork and fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/issue Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants