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

decrease gutter width? #64

Closed
scottjl opened this issue Nov 18, 2021 · 4 comments
Closed

decrease gutter width? #64

scottjl opened this issue Nov 18, 2021 · 4 comments

Comments

@scottjl
Copy link

@scottjl scottjl commented Nov 18, 2021

when using this theme, the space between the line numbers and the left side, where the file names appears, is almost 1" on my screen. if i collapse the left-side pane (where the file names are) this white space increases to about 3", wasting very much of my screen space.

i'd like to reclaim that space, push the line numbers over left more, is there an easy way to do this?

sorry i'm not familiar with CSS, but i can edit the .css file and insert/edit whatever code is needed if someone can give it to me.

thanks!

@kepano
Copy link
Owner

@kepano kepano commented Nov 18, 2021

Can you provide screenshots of the issue? Please also let me know if you are using any plugins or the Live Preview beta.

@scottjl
Copy link
Author

@scottjl scottjl commented Nov 18, 2021

I'm new to Obsidian, found your theme in the list and liked it. Not running any plugins in these screenshots, but same look with a few plugins I've tried enabled as well, so no change there. I'm using a M1 MBA MacOS 15.0.1, and Windows 10 system, including screen shots from both. I did blue out my folder names for privacy. The red arrows indicate the space I want to shrink. I tried various settings but none of them seems to make it any smaller, or larger.

Sorry line numbers weren't enabled in Windows, I forgot to turn them on. I compare the space of the gap to the digits in line numbers. It looks like I have space to go up to the millions or more! I'd rather that space be used to present more text.

If I'm doing something wrong, please feel free to tell me.

Mac:

mac-1
mac-2

Windows:

windows-1
windows-2

@kepano
Copy link
Owner

@kepano kepano commented Nov 18, 2021

Oh I see. You can change this in the settings. The settings you are looking for are the following:

Obsidian Settings

  • Editor > Readable line length — turn this off if you want lines to go full width

Minimal Theme Settings (this is the companion plugin for Minimal), if you keep Readable line length: ON you will be able to tweak it to your liking with the following:

  • Minimal Theme Settings > Typography > Normal line width — number of characters per line
  • Minimal Theme Settings > Typography > Maximum line width — maximum percentage of the pane width

The last setting is probably the one you want to change

@kepano kepano closed this Nov 18, 2021
@scottjl
Copy link
Author

@scottjl scottjl commented Nov 18, 2021

i see. yes. this is exactly what i'm looking for. thank you! here i was thinking it was the gutter space i needed to change. i've reclaimed the space. thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants