How to align tab content left

Hi!

I’ve just loaded obsidian today and now all my content inside the tab is aligned center.

I’m using ubuntu 18.04.

How to align tab content to the left as it was before?

Go to “Settings | Editor” and disable “Readable line length”.

5 Likes

thanks a lot! It works.

I would like to have readable line length and aligned content to the left side, is it possible @moderators ?

1 Like

Follow-up to this question. How to have readable line length and aligned content to the left side?

@Desmas I would like to have readable line length and aligned content to the left side

@awaswy How to have readable line length and aligned content to the left side?

Add these lines to your Obsidian theme CSS file:

.markdown-source-view.is-readable-line-width .CodeMirror {
  margin-left: 0;
}

.markdown-preview-view.is-readable-line-width .markdown-preview-sizer {
  margin-left: 0;
}

As the names imply, the first entry is for the editor/source panes, and the second entry is for the preview panes. See margin-left for other values you can use.

Man, I love that Obsidian gives us this level of configuration.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.