Skip to main content
2 of 4
added 240 characters in body
ilkkachu
  • 6.5k
  • 9
  • 9

Noticed it, it seems a bit excessive to me.

Especially the left-side padding makes it seem like there's an extra empty column in front of each line, which can actually be meaningful in some cases. A

lso the top and bottom paddings start to take a lot of space in posts that have multiple short code blocks (which isn't all that uncommon in e.g. unix.SE, what with all the command line commands. For example, this one has a few of those, though not single-line ones. Another with a couple single-liners on SO.).

It also makes inline code blocks look reaally different from

real code blocks.

The new spacing does have the upside that a horizontal scroll bar fits better without covering the text. If you have one that appears as required, that is. However, that has been discussed and adding extra space just for that purpose was just a while ago in Add some bottom padding to code snippets. With scrollbars set to always visible, the vertical padding really starts to add up.

I can see someone wanting to add some padding there, but can we tone it back down at least a bit?

ilkkachu
  • 6.5k
  • 9
  • 9