From a8ceb3a6b815f90feaa2fe6fadcfb7664de80c66 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sun, 16 Apr 2023 23:14:34 +0200 Subject: [PATCH] Backport PR #25693: Correctly hide download buttons using CSS --- doc/_static/mpl.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index c763e6fb4397..cafb6b589150 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -62,12 +62,11 @@ html[data-theme="dark"] .sphx-glr-thumbcontainer { padding: 0; } -/* hide note linking to the download section at the bottom of galleries - * as suggested in https://github.com/sphinx-gallery/sphinx-gallery/issues/760 +/* hide download buttons in example headers + * https://sphinx-gallery.github.io/stable/advanced.html#hide-the-download-buttons-in-the-example-headers */ div.sphx-glr-download-link-note { - height: 0px; - visibility: hidden; + display: none; } /* re-style the download button */ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy