Skip to content

Commit ed2b35a

Browse files
Titan-Clesteve
authored andcommitted
[doc build] Gallery download buttons fix CSS
Responsive CSS with fixed widths clashes the placement of Sphinx-Gallery code download buttons. This Extra styling give the gallery footer preference to fit inside the container.
1 parent ba55b76 commit ed2b35a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

doc/themes/scikit-learn/static/nature.css_t

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -802,10 +802,7 @@ div.sprint-wrapper:hover {
802802

803803
/*-----------------------The Examples Gallery-------------------------------*/
804804

805-
div.sphx-glr-download code.download {
806-
display: inline-block;
807-
white-space: normal;
808-
}
805+
div.sphx-glr-footer .container {width: auto;}
809806

810807
/* ------- Zoom plots to make them fit in layout -------------------------- */
811808
div.body img.align-center {

0 commit comments

Comments
 (0)