* [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables
@ 2017-11-06 14:40 Thomas Monjalon
2017-11-06 14:42 ` Mcnamara, John
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2017-11-06 14:40 UTC (permalink / raw)
To: john.mcnamara; +Cc: 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 <thomas@monjalon.net>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables
2017-11-06 14:40 [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables Thomas Monjalon
@ 2017-11-06 14:42 ` Mcnamara, John
2017-11-08 1:49 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Mcnamara, John @ 2017-11-06 14:42 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Monday, November 6, 2017 2:41 PM
> To: Mcnamara, John <john.mcnamara@intel.com>
> Cc: dev@dpdk.org
> Subject: [PATCH] doc: adjust column width of PMD overview tables
>
> 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 <thomas@monjalon.net>
Acked-by: John McNamara <john.mcnamara@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables
2017-11-06 14:42 ` Mcnamara, John
@ 2017-11-08 1:49 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2017-11-08 1:49 UTC (permalink / raw)
To: dev; +Cc: Mcnamara, John
> > 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 <thomas@monjalon.net>
>
> Acked-by: John McNamara <john.mcnamara@intel.com>
Applied
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-08 1:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 14:40 [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables Thomas Monjalon
2017-11-06 14:42 ` Mcnamara, John
2017-11-08 1:49 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).