doc: vertical align table content to top

Default vertical alignment of "middle" doesn't look good on large
tables, so override to be "top" of the cell.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2018-12-12 15:20:48 -08:00 committed by David Kinder
parent e4143ca138
commit 90d7bddd2f

View File

@ -109,9 +109,12 @@ table.hlist {
width: 95% !important; width: 95% !important;
} }
/* override rtd theme white-space no-wrap in table heading and content */ /* override rtd theme white-space no-wrap in table heading and content
* and top align for content too (not middle)
*/
th,td { th,td {
white-space: normal !important; white-space: normal !important;
vertical-align: top !important;
} }
/* dbk tweak for doxygen-generated API headings (for RTD theme) */ /* dbk tweak for doxygen-generated API headings (for RTD theme) */