From 23e774db8ea25ba8eb8d8d5d6731622998534bbc Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 7 Sep 2017 13:19:13 -0700 Subject: markdown code blocks not preserving line breaks, removed a bootstrap over-ride which fixes this, but also changed the style to pre-wrap to wrap the text rather than the default horizontal scroll --- view/css/bootstrap-red.css | 4 ---- view/css/conversation.css | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'view/css') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index a3a8ce0be..e0018989d 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -71,10 +71,6 @@ nav .dropdown-menu { min-width: auto; } -code { - white-space: normal; -} - label { font-weight: bold; } diff --git a/view/css/conversation.css b/view/css/conversation.css index dcabb5f3c..32870065b 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -1,3 +1,4 @@ + /* jot */ .jothidden input[type="text"] { @@ -302,3 +303,12 @@ img.smiley.emoji:hover { #filer_save { margin-left: 15px; } + + + +/* general over-rides */ + +/* prevent horizontal scrollbars in code blocks */ +code { + white-space: pre-wrap; +} -- cgit v1.2.3