We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fa85ee + 5d1f2ae commit fd5f164Copy full SHA for fd5f164
doc/_static/mpl.css
@@ -85,9 +85,13 @@ html[data-theme="dark"] .sphx-glr-thumbcontainer {
85
background-color: rgb(63, 63, 63);
86
}
87
88
-/* workaround: the default padding decenters the image inside the frame */
89
-.sphx-glr-thumbcontainer .figure {
90
- padding: 0;
+/* Set a fixed height so that lazy loading does not change heights. Without a fixed
+ * height lazy loading of images interferes with anchor links: Clicking a link goes to
+ * a certain position, but then the loaded images add content and move the anchor to a
91
+ * different position.
92
+ */
93
+.sphx-glr-thumbcontainer img {
94
+ height: 112px;
95
96
97
/* hide download buttons in example headers
0 commit comments