summaryrefslogtreecommitdiff
path: root/sphinx
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-04 23:20:59 +0100
committerGeorg Brandl <georg@python.org>2011-01-04 23:20:59 +0100
commitc4b9cca165c230a6d37689febb4bcbfcc192e917 (patch)
tree39a3123fe50517f8418ffe1c5ab19f1702bf3135 /sphinx
parent5fce89aa52230ebae8e1083383c59181beae4231 (diff)
downloadsphinx-git-c4b9cca165c230a6d37689febb4bcbfcc192e917.tar.gz
#283: Fix literal block display issues on Chrome browsers.
Diffstat (limited to 'sphinx')
-rw-r--r--sphinx/themes/basic/static/basic.css1
-rw-r--r--sphinx/themes/epub/static/epub.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/themes/basic/static/basic.css b/sphinx/themes/basic/static/basic.css
index af1f49c41..6882a5830 100644
--- a/sphinx/themes/basic/static/basic.css
+++ b/sphinx/themes/basic/static/basic.css
@@ -444,6 +444,7 @@ dl.glossary dt {
pre {
overflow: auto;
+ overflow-y: hidden; /* fixes display issues on Chrome browsers */
}
td.linenos pre {
diff --git a/sphinx/themes/epub/static/epub.css b/sphinx/themes/epub/static/epub.css
index 356da0559..d2c51751a 100644
--- a/sphinx/themes/epub/static/epub.css
+++ b/sphinx/themes/epub/static/epub.css
@@ -343,6 +343,7 @@ dl.glossary dt {
pre {
font-family: "LiberationNarrow", monospace;
overflow: auto;
+ overflow-y: hidden;
}
td.linenos pre {