Skip to content

Commit b51f274

Browse files
authored
DOC fix rendering of download note in example (scikit-learn#26703)
1 parent f962172 commit b51f274

File tree

1 file changed

+2
-3
lines changed
  • doc/themes/scikit-learn-modern/static/css

1 file changed

+2
-3
lines changed

doc/themes/scikit-learn-modern/static/css/theme.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,13 +1019,12 @@ div.sphx-glr-thumbcontainer {
10191019
padding: 0;
10201020
}
10211021

1022-
10231022
@media screen and (min-width: 1540px) {
1024-
.sphx-glr-download-link-note {
1025-
position: absolute;
1023+
div.sphx-glr-download-link-note.admonition.note {
10261024
position: absolute;
10271025
left: 98%;
10281026
width: 20ex;
1027+
margin-top: calc(max(5.75rem, 1vh));
10291028
}
10301029
}
10311030

0 commit comments

Comments
 (0)