From: Zhanna Tsitkov Date: Tue, 24 Jul 2012 15:53:11 +0000 (-0400) Subject: Make sure that long lines are displayed in Sphinx X-Git-Tag: krb5-1.11-alpha1~387 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69c87a9b5df7472ed773cdef02bceb9e7b482b92;p=thirdparty%2Fkrb5.git Make sure that long lines are displayed in Sphinx Before this fix the very long lines (110+ symbols) under the preformatted text
 tag would be cut short in Sphinx HTML output.
---

diff --git a/doc/rst_source/_static/kerb.css b/doc/rst_source/_static/kerb.css
index 45f1b6ece8..c2800474a1 100644
--- a/doc/rst_source/_static/kerb.css
+++ b/doc/rst_source/_static/kerb.css
@@ -112,3 +112,17 @@ div.sidebar li.toctree-l4 a {
 dt:target, .highlighted {
   background-color: #c1c1c1;
 }
+
+/* Code displays */
+
+pre {
+    overflow: auto;
+    overflow-y: hidden;
+}
+
+td.linenos pre {
+    padding: 5px 0px;
+    border: 0;
+    background-color: transparent;
+    color: #aaa;
+}