From 9ef4ffa86868b57bc81e2ab1e9c8b88391769cb0 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sat, 9 Mar 2024 04:52:40 +0100 Subject: [PATCH] DOC fix align table in API doc page (#28600) --- doc/themes/scikit-learn-modern/static/css/theme.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/themes/scikit-learn-modern/static/css/theme.css b/doc/themes/scikit-learn-modern/static/css/theme.css index 774c25f18e7cc..bd447d88e0b3b 100644 --- a/doc/themes/scikit-learn-modern/static/css/theme.css +++ b/doc/themes/scikit-learn-modern/static/css/theme.css @@ -1001,6 +1001,7 @@ table.docutils { margin-bottom: 1rem; line-height: 1rem; max-width: 100%; + display: block; overflow-x: auto; } @@ -1319,6 +1320,10 @@ div.sk-sponsor-div-box, div.sk-testimonial-div-box { } } +div.sk-sponsor-div-box table.sk-sponsor-table { + display: table; +} + table.sk-sponsor-table tr, table.sk-sponsor-table tr:nth-child(odd) { border-style: none; background-color: white;