From d9ace33408dede231d7084dad5cd7eddc9f86855 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 28 Mar 2020 21:23:45 -0400 Subject: [PATCH] Backport PR #15387: fix tooltip display bug Merge pull request #15387 from dorafc/fix_tooltip_display_bug DOC: fix tooltip display bug --- doc/_static/mpl.css | 8 ++++---- requirements/doc/doc-requirements.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index 6063c9a16224..0bbcb38cd52a 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -1103,10 +1103,6 @@ p.caption { font-weight: bold; } -div#gallery.section, div#tutorials.section { - overflow: hidden; -} - .sphx-glr-multi-img{ max-width: 99% !important; } @@ -1278,3 +1274,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 diff --git a/requirements/doc/doc-requirements.txt b/requirements/doc/doc-requirements.txt index 5159465b89e3..f04d5de3f5f1 100644 --- a/requirements/doc/doc-requirements.txt +++ b/requirements/doc/doc-requirements.txt @@ -13,5 +13,5 @@ ipython ipywidgets numpydoc>=0.8 pillow>=3.4,!=5.4.0 -sphinx-gallery>=0.2 +sphinx-gallery>=0.5 sphinx-copybutton