aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/css/conversation.css10
-rw-r--r--view/theme/redbasic/css/style.css2
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 {