From c9f920186334515a6db2ae3278edb497ed5393f9 Mon Sep 17 00:00:00 2001 From: JHM Darbyshire <24256554+attack68@users.noreply.github.com> Date: Mon, 21 Nov 2022 10:24:27 +0100 Subject: [PATCH] DOC: Fix the Styler user guide table width issues Not sure if this has any other unintended consequences. Note that "auto" is the default table width setting in CSS when unspecified. This was the previous setting until 1.5.0 and an update to pydata-sphinx-theme seems to have changed this setting. --- doc/source/_static/css/pandas.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/source/_static/css/pandas.css b/doc/source/_static/css/pandas.css index 25153b6a8ad5d..a08be3301edda 100644 --- a/doc/source/_static/css/pandas.css +++ b/doc/source/_static/css/pandas.css @@ -5,6 +5,10 @@ --pst-color-info: 23, 162, 184; } +table { + width: auto; /* Override fit-content which breaks Styler user guide ipynb */ +} + /* Main index page overview cards */ .intro-card {