abricotine
abricotine copied to clipboard
Change max width of content
I tried to change the maximal width of the content. The width of the container containing all the content is somehow limited. I could not find the css rule limiting the content width (to override it in my theme). How is the width limited?
Addendum: I think the idea of limiting the content width is good to improve readability, but as long as #23 is not solved, I'd prefer to use all available space.
I finally found the class that contains the style for the content-width. Adding the following code to the theme in use allows changing the max-width of the content.
.CodeMirror-sizer {
max-width: yourvalue;
width: yourvalue;
}
Also, the default value is 900px and I think it should rather be a value in em, e.g. 58.5em, to compensate different font sizes in different themes.
I realize this is a very old answer. But there are still no settings in the editor. Maybe someone else has come across this situation. I put this block in theme.less, but there is no result. This no longer works, or I misunderstood - where do I need to enter the block?
/tmp/Abricotine/themes/default.css - works! :-)
/tmp/Abricotine/themes/default.css - works! :-)
Here is the correct way to do : https://github.com/brrd/abricotine/blob/master/docs/themes.md Then refresh theme from the Development menu (or CTRL+F5).