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

Changing zoom level alters spacing between lines #13

Open
druskus20 opened this issue Oct 18, 2021 · 2 comments
Open

Changing zoom level alters spacing between lines #13

druskus20 opened this issue Oct 18, 2021 · 2 comments

Comments

@druskus20
Copy link

@druskus20 druskus20 commented Oct 18, 2021

When changing the zoom level, the space between the lines is also altered, as can be seen in the following image:
obsidian
I've seemed to have narrowed down the issue to the following property on <p>:

.markdown-preview-view.is-readable-line-width .markdown-preview-section, .markdown-source-view.is-readable-line-width .CodeMirror {
    max-width: 900px !important;
    line-height: 26px;
}

Disabling line-height seems to fix the issue.

@kognise
Copy link
Owner

@kognise kognise commented Oct 18, 2021

Weird, looks like the line-height is fixed instead of relative there. Should be quite an easy fix, maybe even just replacing it with 1.625em. I'll take a look later today.

@skorphil
Copy link

@skorphil skorphil commented Nov 3, 2021

+1 problem still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants