render code bbcode inline if there are no linebreaks in the text.

This commit is contained in:
Mario Vavti
2016-05-30 16:12:48 +02:00
parent f2ebe41a50
commit d1efb59fcd
3 changed files with 21 additions and 18 deletions

View File

@@ -113,13 +113,12 @@ pre code {
}
code {
font-size: 1em;
padding: 1em 1.5em;
border: 1px solid #ccc;
background: #ccc;
color: #000;
}
pre {
background: #F5F5F5;
color: #333;