From: Thomas Monjalon Date: Mon, 6 Nov 2017 14:40:54 +0000 (+0100) Subject: doc: adjust column width of PMD overview tables X-Git-Tag: spdx-start~878 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=9a5a54056679672346eb1a1a6c45c459e8bb7453 doc: adjust column width of PMD overview tables The net PMD overview table is big and required to be shrunk. The crypto PMD tables had variable column sizes: the latest columns were smaller. The minimum width is set to 0.9em without any forced padding. The maximum width is set to 2em. The width of the first column set by sphinx is overridden to 0 for full elasticity. Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 39880752e2..31f914a899 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -340,7 +340,12 @@ def print_table_css(outfile, table_id): font-size: 80%; white-space: pre-wrap; vertical-align: top; - padding: 2px; + padding: 0.5em 0; + min-width: 0.9em; + width: 2em; + } + table#idx col:first-child { + width: 0; } table#idx th:first-child { vertical-align: bottom;