From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] doc: adjust column width of PMD overview tables Date: Mon, 6 Nov 2017 15:40:54 +0100 Message-ID: <20171106144054.29316-1-thomas@monjalon.net> Cc: dev@dpdk.org To: john.mcnamara@intel.com Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 9920A1B2CF for ; Mon, 6 Nov 2017 15:41:03 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The net PMD overview table is big and required to be shrinked. 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 overriden to 0 for full elasticity. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 39880752e..31f914a89 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; -- 2.14.2