krb5 commit: Make sure that long lines are displayed in Sphinx

Zhanna A Tsitkova tsitkova at MIT.EDU
Tue Jul 24 11:39:25 EDT 2012


https://github.com/krb5/krb5/commit/69c87a9b5df7472ed773cdef02bceb9e7b482b92
commit 69c87a9b5df7472ed773cdef02bceb9e7b482b92
Author: Zhanna Tsitkov <tsitkova at mit.edu>
Date:   Tue Jul 24 11:53:11 2012 -0400

    Make sure that long lines are displayed in Sphinx
    
    Before this fix the very long lines (110+ symbols) under the
    preformatted text <pre> tag would be cut short in Sphinx HTML output.

 doc/rst_source/_static/kerb.css |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/doc/rst_source/_static/kerb.css b/doc/rst_source/_static/kerb.css
index 45f1b6e..c280047 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;
+}


More information about the cvs-krb5 mailing list