Left margin (or padding) in preview mode changed/broken

Steps to reproduce

  1. Create a note.
  2. Use the default theme and disable custom CSS.
  3. Go to preview mode.
    • In 0.9.20 and earlier, the text of the note would appear centred.
    • In 0.9.21, the text shows without left margin or padding.

Expected result

I would expect that the preview mode kept the same margin/padding as in the previous version, especially because the release notes don’t mention changes or improvements to the preview mode.

Actual result

Example note:

---
title: "Example note"
---

Here the text is nicely aligned.

But in Preview mode it's not.

In the Editor mode, this looks like:

In preview mode, it looks like:

Environment

  • Operating system: Windows 7 64-bit.
  • Obsidian version: 0.9.21.

Additional information

Can it perhaps be that Obsidian ignores the ‘Readable line length’ option for the Preview mode, starting with this release?

1 Like

Same here. Basically there is no readable line length now

Yes, it’s terrible: “max-width” isn’t taken into account anymore. Imagine the line length on a 34" monitor… :unamused::unamused::unamused:
I’ve tried to use different themes… I couldn’t. It’s as if the whole Custom CSS functionality is broken.

Good catch, will fix asap.

2 Likes

Hi, i wanted to follow up if this is the same issue i am having. I am new to Obsidian and i think it’s a great app, but this bugs me. i am not sure if it is bug or a feature but when i create a note, and make app full screen on my monitor text is nearly center of my screen.


I am including a screen shot , where red line represents space that will get larger/smaller depending on the size of the application window.

i hope i didn’t confuse anyone.

thank you

Greg