8000 Merge pull request #25700 from meeseeksmachine/auto-backport-of-pr-25… · matplotlib/matplotlib@d96f8a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit d96f8a4

Browse files
authored
Merge pull request #25700 from meeseeksmachine/auto-backport-of-pr-25693-on-v3.7.x
Backport PR #25693 on branch v3.7.x (Correctly hide download buttons using CSS)
2 parents 7233d36 + d132998 commit d96f8a4

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)
0