From f1d2e567a75f183ec3f80d226397b53ecafb0010 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Fri, 25 Mar 2022 13:53:51 +0100 Subject: [PATCH] doc: fix figure style CSS selector The CSS classes used by figures in docutils has changed in recent versions. Adjust CSS so that figures are centered again by default. Signed-off-by: Gerard Marull-Paretas --- doc/_static/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index 4ecea90c9a8..45e4887ac37 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -864,7 +864,7 @@ kbd, .kbd { column-width: 18em; } -.figure { +.rst-content div.figure, .rst-content figure { text-align: center; }