meld-cp / obsidian-encrypt

Hide secrets in your Obsidian.md vault
MIT License
563 stars 33 forks source link

Encrypted notes should be aligned like the default Obsidian notes #88

Closed meld-cp closed 1 year ago

meld-cp commented 1 year ago

The encrypted notes should be consistent, and follow the same alignment configuration as normal notes.

E.g. center of the editing space, as opposed to the far left.

This may be desktop only or more likely screen width dependent. Check normal note CSS classes.

Originally posted by @deusnovus in https://github.com/meld-cp/obsidian-encrypt/issues/48#issuecomment-1500895961

deusnovus commented 1 year ago

My apologies, I meant to say margin! I don't know if it's intentional or not, but the difference in margin between normal notes and encrypted notes appears as so:

example1 example2

It's a little bit different on iOS as well, but less noticeable.

meld-cp commented 1 year ago

Thanks for the screenshots.

The full width was intentional (only because I prefer my note taking that way) but I think it's better to follow the user preferences from the obsidian settings, so I'll aim to make it do that.

meld-cp commented 1 year ago

A note for me to make it follow the readable line length setting in Obsidian

image

deusnovus commented 1 year ago

Yeah, for the sake of uniformity, I think it's better for plugins to not have any personalized cosmetics that veer away from the user's default / custom CSS theme, but you can always add the option for full-width notes.

meld-cp commented 1 year ago

Fixed in v2.1.3