[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 1/3] Align table cells on top



When the description of an entry is too long and needs multiple lines,
all other table cells of the same row are currently vertically aligned
on center. Without row borders or different background colors for
alternating rows this is hard to read.

Change the style-sheet to align the table cells of a row on top.

Signed-off-by: Philipp Hahn <hahn univention de>
---
 docs/libvirt.css |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

---
See
<http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags>
for example.

diff --git a/docs/libvirt.css b/docs/libvirt.css
index 049e332..6e54b73 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -199,6 +199,10 @@ div.api table {
     whitespace: pre;
 }
 
+div.api table td, div.variablelist table td {
+    vertical-align: top;
+}
+
 
 h1 a, h2 a, h3 a, h4 a, h5 a {
     color: inherit;
-- 
1.7.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]