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

Skip to content

Commit 09ad38c

Browse files
authored
Merge pull request #21130 from meeseeksmachine/auto-backport-of-pr-21129-on-v3.5.x
Backport PR #21129 on branch v3.5.x (Fix decenter of image in gallery thumbnails)
2 parents 57d7241 + 275334c commit 09ad38c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/_static/mpl.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ does not float with it.
213213
margin: 5px 2px;
214214
}
215215

216+
/* workaround: the default padding decenters the image inside the frame */
217+
.sphx-glr-thumbcontainer .figure {
218+
padding: 0;
219+
}
216220

217221
table.property-table th,
218222
table.property-table td {

0 commit comments

Comments
 (0)
0