Skip to content

Commit 2f9d2a9

Browse files
fix: the download in sphinx gallery (#490)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 31e6231 commit 2f9d2a9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

doc/changelog.d/490.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: the download in sphinx gallery

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/sphinx-gallery.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,17 @@ div.sphx-glr-download a {
5050
background-color: var(--ast-sphinx-gallery-download-background);
5151
color: var(--ast-sphinx-gallery-download-text);
5252
}
53+
54+
div.sphx-glr-footer {
55+
text-align: center;
56+
display: flex;
57+
gap: 10px;
58+
align-content: center;
59+
justify-content: center;
60+
flex-wrap: wrap;
61+
flex-direction: row;
62+
}
63+
64+
div.sphx-glr-download {
65+
margin: 0px;
66+
}

0 commit comments

Comments
 (0)