diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-07 21:29:32 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-07 21:29:32 -0700 |
commit | 1104e2652f15aaa405208b6dec9e439fb8c39537 (patch) | |
tree | 82024490e0876d219a9b9d7f3b9f0c2a8977b73a /view | |
parent | f2dc55244c0741505e5de891fae97d67f31381d2 (diff) | |
download | volse-hubzilla-1104e2652f15aaa405208b6dec9e439fb8c39537.tar.gz volse-hubzilla-1104e2652f15aaa405208b6dec9e439fb8c39537.tar.bz2 volse-hubzilla-1104e2652f15aaa405208b6dec9e439fb8c39537.zip |
improve the code block styling a wee bit
Diffstat (limited to 'view')
-rw-r--r-- | view/css/conversation.css | 10 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 2 |
2 files changed, 3 insertions, 9 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css index 32870065b..a5a847676 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -274,6 +274,7 @@ code { font-size: 1em; padding: 1em 1.5em; display: block; + white-space: pre-wrap; } code.inline-code { @@ -303,12 +304,3 @@ img.smiley.emoji:hover { #filer_save { margin-left: 15px; } - - - -/* general over-rides */ - -/* prevent horizontal scrollbars in code blocks */ -code { - white-space: pre-wrap; -} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 621fa2781..b508b2576 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -136,6 +136,8 @@ input, optgroup, select, textarea { pre code { border: none; + padding: 1em 1.5em; + border-radius: $radius; } code { |