From 90d7bddd2f57f2df64b8c028729276ef5c74fe9a Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Wed, 12 Dec 2018 15:20:48 -0800 Subject: [PATCH] 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 --- doc/static/acrn-custom.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/static/acrn-custom.css b/doc/static/acrn-custom.css index 33fb0e442..19096b9ba 100644 --- a/doc/static/acrn-custom.css +++ b/doc/static/acrn-custom.css @@ -109,9 +109,12 @@ table.hlist { 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 { white-space: normal !important; + vertical-align: top !important; } /* dbk tweak for doxygen-generated API headings (for RTD theme) */