TfTHacker / obsidian42-strange-new-worlds

Revealing the strange new world of connected thoughts in your vault.
https://tfthacker.com/SNW
MIT License
432 stars 13 forks source link

Page Width Consistency Issue with Obsidian SNW Plugin #115

Open sfsdfc opened 11 months ago

sfsdfc commented 11 months ago

Hello,

I use the following CSS code to set the page width in Obsidian:

body {
  --user-custom-width: 703px !important;
  --file-line-width: var(--user-custom-width);
}

When SNW is not enabled, the page width remains consistent in both reading and preview modes. However, when I enable SNW, the page width becomes narrower in preview mode, as shown in the attached image.

image

Could you please advise on which parameters to adjust to maintain consistent page width when NSW is enabled? Thank you!