Browse Source

Automatic overflow handling for <pre> fields.

This is a change in the default HTML style.  Fields that
are too wide will not get a scroll bar.
Carsten Dominik 16 years ago
parent
commit
63bf841e91
2 changed files with 4 additions and 0 deletions
  1. 3 0
      lisp/ChangeLog
  2. 1 0
      lisp/org-exp.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
 
+	* org-exp.el (org-export-html-style-default): Automatic overflow
+	handling for pre fields.
+
 	* org-table.el (org-table-export): Offer completion for translator
 	functions, and do not require a heading above the table.
 

+ 1 - 0
lisp/org-exp.el

@@ -489,6 +489,7 @@ Org-mode file."
 	padding: 5pt;
 	font-family: courier, monospace;
         font-size: 90%;
+        overflow:auto;
   }
   table { border-collapse: collapse; }
   td, th { vertical-align: top; }