From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DD6D745702; Wed, 31 Jul 2024 18:00:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40AE242F07; Wed, 31 Jul 2024 18:00:01 +0200 (CEST) Received: from fout2-smtp.messagingengine.com (fout2-smtp.messagingengine.com [103.168.172.145]) by mails.dpdk.org (Postfix) with ESMTP id B364742F04 for ; Wed, 31 Jul 2024 17:59:59 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 4D15D138202D; Wed, 31 Jul 2024 11:59:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 31 Jul 2024 11:59:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1722441599; x= 1722527999; bh=qxm2yIcoTeXX2LBkyzFMHO4L82mLFJDTqsPu5Mgx6PY=; b=P +H/ll6RTKFx9nhB5z4EUAw+3UUEfe7GGQIhzs7LQ1TUN9A32oPTHVA2FScJoYCYk ZQRQ+0uwxJufwl+LEmZb72RP+oWZYDrRQNniTnnoKHHkRtw3xE6QM5B4Zn5Zi2td DKfMvBR13lVSjvfQurlGIAxQgcyIhOocWIJeBK85chposndI0y2hNlUBCl2UdWan EHGcDp0UILQ8nYi1xofkXL2pDc8Yl9JmEo1qnBs2tMi+dAFQIJ/wM/ln1NBZ4eYL MuSXPQQzgbRHYUJEmRQr0QzMQak1QBgxHBtHx4hq0QjfvSYsmb0uaQtfKD808AmO 45/Px4pyEajjXTg7x0XIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1722441599; x=1722527999; bh=qxm2yIcoTeXX2 LBkyzFMHO4L82mLFJDTqsPu5Mgx6PY=; b=silIi41bcHkppwRegqY9dcKFVfOzj CLnxW2Fmjj4ell+l2CBaTe5WgW3y1o5bcwkXpDuHXauUW7TGkFbSNbk6+JzOxcIq Dsc0QOBs4vCovqvRpVlv+155PnLi6QGcwrtIOIiv2aKXBCFjYH7Aq5fjXMDfTIR5 gnC/0YuAjDAZttdm+6szT84bfjOlGJuVK1K59Tm33zfR0BVryGChlprT+ahzhFwF UcHWejjY9mhPfz18NMutPdjhikdMwJ4KdrWYNW98VxG71dSXlyCsgxrVlgUa218D oV0NNgle46Qsv1UvzQRirZubtv1B5pulLqgIOLlnHFVdYTeLsTk8kD1iA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeeigdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdehgfeivdejgedtveehfe fhteelfefgieevgfffveefjeegtdfguedthedtgeevnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnh gvthdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 31 Jul 2024 11:59:58 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Subject: [PATCH v3 2/2] doc: give full width to NIC overview page Date: Wed, 31 Jul 2024 17:57:28 +0200 Message-ID: <20240731155947.1681531-3-thomas@monjalon.net> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240731155947.1681531-1-thomas@monjalon.net> References: <20240721095351.355639-1-thomas@monjalon.net> <20240731155947.1681531-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The wide tables in the NIC overview exceed the normal page width because of the large number of drivers. A CSS trick is added to allow displaying the tables in the full width of the browser window. Signed-off-by: Thomas Monjalon --- v2: no change v3: let only tables to overflow on wide screen --- doc/guides/custom.css | 13 +++++++++++++ doc/guides/nics/overview.rst | 2 ++ 2 files changed, 15 insertions(+) diff --git a/doc/guides/custom.css b/doc/guides/custom.css index 221024655c..a8ee6bed2c 100644 --- a/doc/guides/custom.css +++ b/doc/guides/custom.css @@ -4,6 +4,19 @@ /* Override readthedocs theme */ +/* Set full width for all responsive tables of a page. + * Usage: insert the following line in the doc. + * .. rst-class:: widepage + */ +@media screen and (min-width: 1100px) { + .wy-nav-content-wrap:has(.widepage) { + background: white !important; + } + .wy-nav-content:has(.widepage) .wy-table-responsive { + overflow: visible !important; + } +} + /* Spacing before a list item must be bigger than spacing inside the item. * Complex list items start with a p.first element. */ .section li > .first { diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst index 67575c699c..4553076481 100644 --- a/doc/guides/nics/overview.rst +++ b/doc/guides/nics/overview.rst @@ -24,6 +24,8 @@ Most of these differences are summarized below. More details about features can be found in :doc:`features`. +.. rst-class:: widepage + .. _table_net_pmd_features: .. include:: overview_table.txt -- 2.45.0