aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-12-26 02:33:36 -0800
committerZhiming Wang <zmwangx@gmail.com>2015-12-26 02:33:36 -0800
commit3890e82f339dbf5dc29d9cffc8d7c26b99293fc1 (patch)
tree091dbbef019c359e16d327a39af52cdd86b24b17 /templates
parentb0027d2dbdba7f97ca07d8dac6fc28fe53c11a42 (diff)
downloadmy_new_personal_website-3890e82f339dbf5dc29d9cffc8d7c26b99293fc1.tar.xz
my_new_personal_website-3890e82f339dbf5dc29d9cffc8d7c26b99293fc1.zip
theme.css and template.html: Solve overflow problem in code and a tags
Over-long inline <code> tag or long literal link in <a> tag used to overflow the container. This is especially bad on phones where width is very limited. This commit hopefully solves the overflow problem. Still no smarter word breaking, but it's probably just an unfortunate limitation of HTML.
Diffstat (limited to '')
-rw-r--r--templates/template.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/template.html b/templates/template.html
index 2b0115d7..ec6fad90 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -20,7 +20,6 @@ $endif$
<link href="/css/theme-narrow.css" media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/>
<link href="/css/theme-ultranarrow.css" media="only screen and (max-width: 500px)" rel="stylesheet" type="text/css"/>
<link href="/css/print.css" media="print" rel="stylesheet" type="text/css"/>
- <style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$