aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-04-14 00:05:43 -0700
committerZhiming Wang <zmwangx@gmail.com>2016-04-14 00:05:43 -0700
commitac848a6b2a39c923e32c037ce8b8af8b65b6e609 (patch)
tree4d5b4d4ac116296b6d0575b5c8f1289bf548e028 /source
parentef8005a038b33dd6b6f23943fcbf7f8639847a16 (diff)
downloadmy_new_personal_website-ac848a6b2a39c923e32c037ce8b8af8b65b6e609.tar.xz
my_new_personal_website-ac848a6b2a39c923e32c037ce8b8af8b65b6e609.zip
theme.css: pre: Set overflow-x to scroll
The current behavior in Chrome and Safari is simply overflow. Not sure which commit broke it (didn't bother to bisect and regen site multiple times).
Diffstat (limited to 'source')
-rw-r--r--source/css/theme.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index 6b724286..e8384da9 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -126,6 +126,7 @@ h1 code, h2 code {
}
pre {
+ overflow-x: scroll;
padding: 1em;
background: #fbfbfb;
border-left: 0.4em solid #ddd;