summaryrefslogtreecommitdiffstats
path: root/public/css/markdown.css
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-23 20:58:12 +0800
committerslene <vslene@gmail.com>2014-03-23 20:58:12 +0800
commit559cd63fc5feace32bb44c695207579609516f15 (patch)
tree23ce410f6463a1a5945409ea6d796e17b23d8b8f /public/css/markdown.css
parent97e82a0ff6286fd0a42281cd1e34dd734110e2f4 (diff)
downloadgitea-559cd63fc5feace32bb44c695207579609516f15.tar.gz
gitea-559cd63fc5feace32bb44c695207579609516f15.zip
fix code view indentation
Diffstat (limited to 'public/css/markdown.css')
-rw-r--r--public/css/markdown.css5
1 files changed, 2 insertions, 3 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css
index 9f4024ba89..d46fd94365 100644
--- a/public/css/markdown.css
+++ b/public/css/markdown.css
@@ -135,13 +135,12 @@
box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
}
-.markdown > pre > code,
-.markdown > pre > ol.linenums > li > code {
+.markdown > pre > code {
white-space: pre;
word-wrap: normal;
}
-.markdown > pre > ol.linenums > li > code {
+.markdown > pre > ol.linenums > li {
padding: 0 10px;
}