scottjl
November 18, 2021, 2:46am
1
Is there an easy way to decrease the gutter width? Most of my notes have 2 or 3 digit line numbers and right now it looks like there’s room for 5 digits with the default theme and 12 digits with minimal. if i collapse the left sidebar there is even more wasted space! i don’t mind mucking around with CSS files if someone told me what to add or edit. i can’t seem to find anything that refers to the gutter width.
thank you!
I don’t know if there are any CSS guidelines written out. You can always investigate the html elements by using the developer tools.
The hotkey on MacOS is Cmd-alt-i. I don’t know about the other platforms.
I found a class called .cm-gutters
and changing the width works for me.
scottjl
November 18, 2021, 12:05pm
3
thanks. i really don’t know CSS. but i’ll take what you gave me and see if i can fudge it.
scottjl
November 18, 2021, 6:49pm
4
So it turns out it isn’t actually the gutter width. I got some help from the Minimal theme developers that solved my issue:
opened 02:38PM - 18 Nov 21 UTC
closed 06:17PM - 18 Nov 21 UTC
when using this theme, the space between the line numbers and the left side, whe… re 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!
1 Like
system
Closed
November 19, 2021, 6:50pm
5
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.