[PATCH 1/3] Align table cells on top

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

 



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@xxxxxxxxxxxxx>
---
 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


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]