From 2379054ae2e2bb8304b93fd3c1b72b7217ba65f8 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sun, 19 Sep 2021 12:04:25 +0200 Subject: [PATCH] Backport PR #21116: Adapt css so that galleries have four columns --- doc/_static/mpl.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index d330a1df198f..aa8878340286 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -207,6 +207,12 @@ does not float with it. } +/* slightly reduce horizontal margin compared to gallery.css to + * get four columns of thumbnails in the pydata-sphinx-theme. */ +.sphx-glr-thumbcontainer { + margin: 5px 2px; +} + table.property-table th, table.property-table td {