Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d132998

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #25693: Correctly hide download buttons using CSS
1 parent 7233d36 commit d132998

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/_static/mpl.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,11 @@ html[data-theme="dark"] .sphx-glr-thumbcontainer {
6262
padding: 0;
6363
}
6464

65-
/* hide note linking to the download section at the bottom of galleries
66-
* as suggested in https://github.com/sphinx-gallery/sphinx-gallery/issues/760
65+
/* hide download buttons in example headers
66+
* https://sphinx-gallery.github.io/stable/advanced.html#hide-the-download-buttons-in-the-example-headers
6767
*/
6868
div.sphx-glr-download-link-note {
69-
height: 0px;
70-
visibility: hidden;
69+
display: none;
7170
}
7271

7372
/* re-style the download button */

0 commit comments

Comments
 (0)