diff --git a/themes/chameleon/source/css/typing.css b/themes/chameleon/source/css/typing.css index c45cc27..17731de 100644 --- a/themes/chameleon/source/css/typing.css +++ b/themes/chameleon/source/css/typing.css @@ -185,8 +185,13 @@ code, kbd, pre, samp { - font-size: 0.9em; background: #333; + font-size: 0.9em; +} + +/* set codeblock width to minimum */ +pre { + max-width: min-content; } /* Hide post's excerpt in article */