aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/css/common/misc.css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-06-30 20:57:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-06-30 20:57:52 +0300
commit6eb5a7416412dddcf231c88ca2d3a51b38567cfc (patch)
tree1dfb8cad4559cc98f47f8dd2f9dd8ec2dfbd22e1 /css/common/misc.css
parentstatic-vs: namespace&nbsp;{ (diff)
downloadblog-6eb5a7416412dddcf231c88ca2d3a51b38567cfc.tar.gz
blog-6eb5a7416412dddcf231c88ca2d3a51b38567cfc.zip
add horizontal scrollbars to <pre> elements
Diffstat (limited to 'css/common/misc.css')
-rw-r--r--css/common/misc.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/css/common/misc.css b/css/common/misc.css
index 960e910..33dba8f 100644
--- a/css/common/misc.css
+++ b/css/common/misc.css
@@ -17,3 +17,10 @@ h6 a {
span.badge {
margin-left: .5em;
}
+pre {
+ overflow-x: auto;
+}
+pre code {
+ white-space: pre;
+ word-wrap: normal;
+}