Large margin on the left side of the text - how to make it narrower?

Hi Guys!
I’ve noticed that my obsidian has a large margin-like area to the left of main body of notes. How to make it smaller - just to make the preview/editing better optimiesd in terms of screen.
Below you can find visualisation - it is just a waste of space…
Help?

3 Likes

Open settings, click on Editor, and you’ll see the option Readable line length, which is on by default. You can turn that off to reduce that margin.

14 Likes

It worked!!! Thanks!!!

Thank you so much for this! I was pulling my hair out trying to figure this out. I feel so embarrassed it was in the settings I went over a million times with. Cheers.

What is the margin for? How do you used it?

1 Like

The margin ensures that the lines are always only long enough not to restrict readability. If a line becomes too long, it can happen that the eye, when it has reached the end of a line and is on its way back to the left margin to find the beginning of the next line, slips in the line.

humm, sorry that does not make any sense, the product designer did not consider a huge space almost in the middle of the screen to be a problem?

Create CSS snippet with code

.markdown-source-view.mod-cm6.is-readable-line-width:not(.is-rtl) .cm-scroller > *:first-child {
  margin-left: 0;
}

Based on this answer How to align tab content left - #6 by ryanx

Adding custom styles: Add custom styles
Customizing CSS Customizing CSS