From d1efb59fcdd3d5e78f3071c7a7a959c285782931 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 30 May 2016 16:12:48 +0200 Subject: render code bbcode inline if there are no linebreaks in the text. --- view/css/conversation.css | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'view/css') diff --git a/view/css/conversation.css b/view/css/conversation.css index 9b99efba4..328f9df02 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -1,11 +1,3 @@ -/* common */ - -code { - font-family: Courier, monospace; - display: block; - overflow: auto; -} - /* jot */ .jothidden input { @@ -305,6 +297,18 @@ a.wall-item-name-link { /* bb-code */ +code { + font-family: Courier, monospace; + font-size: 1em; + padding: 1em 1.5em; + display: block; +} + +code.inline-code { + padding: 0px 4px; + display: inline; +} + .overline { text-decoration: overline; } -- cgit v1.2.3