From 99ab5c651af9a8f4481f7165a344442e56420d25 Mon Sep 17 00:00:00 2001 From: Dora Fraeman Caswell Date: Sun, 6 Oct 2019 22:44:46 -0400 Subject: [PATCH 1/2] fix tooltip display bug Updated CSS to fix an issue with the tooltip being cutoff by the edge of the content. This change is dependent on updates to sphinx gallery. --- doc/_static/mpl.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index d037550666c4..86c2912bee99 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -1079,10 +1079,6 @@ p.caption { font-weight: bold; } -div#gallery.section, div#tutorials.section { - overflow: hidden; -} - .sphx-glr-multi-img{ max-width: 99% !important; } @@ -1254,3 +1250,7 @@ div.bullet-box li { flex: 0 0 90%; } } + +div#gallery.section .sphx-glr-clear:first-of-type, div#tutorials.section .sphx-glr-clear:first-of-type{ + display: none; +} \ No newline at end of file From ef82f818de4e49b759258d10d1d8f0464f41e1c2 Mon Sep 17 00:00:00 2001 From: Dora Fraeman Caswell Date: Sat, 28 Mar 2020 15:36:12 -0400 Subject: [PATCH 2/2] DOC:bump sphinx gallery minimum version This is the lowest version that has the CSS bug fix --- requirements/doc/doc-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/doc/doc-requirements.txt b/requirements/doc/doc-requirements.txt index c7cc54885ea0..7168886419ec 100644 --- a/requirements/doc/doc-requirements.txt +++ b/requirements/doc/doc-requirements.txt @@ -12,5 +12,5 @@ colorspacious ipython ipywidgets numpydoc>=0.8 -sphinx-gallery>=0.4 +sphinx-gallery>=0.5 sphinx-copybutton