fix(css): set codeblock width to minimum

This commit is contained in:
curben 2019-10-18 07:12:59 +01:00
parent 07c59dc42a
commit 66211e7d9c
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 6 additions and 1 deletions

View File

@ -185,8 +185,13 @@ code,
kbd, kbd,
pre, pre,
samp { samp {
font-size: 0.9em;
background: #333; background: #333;
font-size: 0.9em;
}
/* set codeblock width to minimum */
pre {
max-width: min-content;
} }
/* Hide post's excerpt in article */ /* Hide post's excerpt in article */