shithub: freetype+ttf2subf

Download patch

ref: a31f971577295e2b9bbdc0cd6561610a0f905057
parent: 8f795118b8773caa21e6077ffc971c3f44a10332
author: Werner Lemberg <[email protected]>
date: Sat Nov 29 02:18:44 EST 2014

* src/tools/docmaker/tohtml.py: Improve CSS for fields.

Make fields align horizotnally relative to full line width.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2014-11-29  Werner Lemberg  <[email protected]>
 
+	* src/tools/docmaker/tohtml.py: Improve CSS for fields.
+
+	Make fields align horizotnally relative to full line width.
+
+2014-11-29  Werner Lemberg  <[email protected]>
+
 	* src/tools/docmaker/tohtml.py: Fix index and TOC templates.
 
 	This thinko was introduced 2014-11-27.
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -77,13 +77,14 @@
 
   table.center { margin: auto; }
   table.fields { border: 0;
-                 border-spacing: 0; }
+                 border-spacing: 0;
+                 width: 100%; }
   table.fields td.val { font-weight: bold;
                         text-align: right;
                         width: 30%;
-                        vertical-align: text-top;
+                        vertical-align: baseline;
                         padding: 0 1em 0 0; }
-  table.fields td.desc { vertical-align: text-top;
+  table.fields td.desc { vertical-align: baseline;
                          padding: 0 0 0 1em; }
   table.index { margin: auto;
                 border: 0;