kognise / obsidian-atom

A theme for Obsidian based on Atom's One family
The Unlicense
223 stars 57 forks source link

Changing zoom level alters spacing between lines #13

Closed druskus20 closed 1 year ago

druskus20 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

+1 problem still exists