浏览代码

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 17 年之前
父节点
当前提交
63bf841e91
共有 2 个文件被更改,包括 4 次插入0 次删除
  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; }