Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What about max width? #2

Open
OnkelTem opened this issue Oct 1, 2022 · 5 comments
Open

What about max width? #2

OnkelTem opened this issue Oct 1, 2022 · 5 comments
Labels
wontfix This will not be worked on

Comments

@OnkelTem
Copy link

OnkelTem commented Oct 1, 2022

Thanks for the plugin!

I understand the importance of minimum width, however I find that setting max width is as important. I don't like that my notes spread to the full width of my monitor, I always feel like a cat watching a tennis game 🤣

In other words there should be just one setting: width. I don't know what this obvious thing is not in the base functionality of Obsidian itself. I hope it can be done using plugins.

@doitian
Copy link
Owner

doitian commented Oct 3, 2022

For width, https://github.com/deathau/sliding-panes-obsidian should work.

@OnkelTem
Copy link
Author

OnkelTem commented Oct 16, 2022

@doitian yeah, thanks, that's what I use myself. But once again, it doesn't have max width setting. Which makes texts to jump and re-layout. So I thought that maybe this plugin could do that instead, and that I could have both of them playing well :)

@doitian
Copy link
Owner

doitian commented Oct 16, 2022

I do not know how to handle the ugly gaps after setting width or max-width. You'd better use a window management tool to resize your obsidian to proper width.

screenshot-2022101618-rqoDDwbp@2x

@OnkelTem
Copy link
Author

OnkelTem commented Oct 16, 2022

Ugly gaps? Well, okay. But it's still much better than things like this:

image

which just renders text barely readable (line is too long).

Also, note the bold selection in the text which is in the middle of the page and which indicates the place I was reading the text. Now if I open another note, that guy just jumps to the next line, and I lose the position where I was reading:

image

So I was talking about Obsidian issue with text layout inconsistency. Which is of much higher priority than "ugly gaps"

@doitian
Copy link
Owner

doitian commented Oct 18, 2022

There's an option Editor ➤ Display ➤ Readable line length. The default line length is 40rem, which can be customized by theme or css snippet:

body {
  --line-width: 42rem;
}

@doitian doitian added the wontfix This will not be worked on label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants