Welcome to Codidact Meta!
Codidact Meta is the "town hall" (meta-discussion site) for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Code blocks need to be at least 80 characters wide
80 characters is a standard width in programming, so lots of code is written to that size, e.g. Python and Shell according to Google's style guides.
However, Codidact code blocks are only about 72 characters wide. Here's a screenshot of a line of 73 characters that overflows:
This is inconvenient for coders, so it would be good to show more characters per line, whether that's by A) widening a post body or B) shrinking the font in a code block. It looks like CSS font-size: smaller; or font-size: small; would work for this, though these have subtly different meanings.
As a workaround, I've written a userstyle:
pre {
font-size: smaller;
}
Here's what it looks like now:

2 comment threads