Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e0d583

Browse files
committed
Adapt css so that galleries have four columns
The original thumbnail margin in gallery.css is 5px. We reduce the horizontal margin to 2px so that four columns fit within the available width in the pydata-sphinx-theme.
1 parent 2724116 commit 7e0d583

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/_static/mpl.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,12 @@ does not float with it.
207207

208208
}
209209

210+
/* slightly reduce horizontal margin compared to gallery.css to
211+
* get four columns of thumbnails in the pydata-sphinx-theme. */
212+
.sphx-glr-thumbcontainer {
213+
margin: 5px 2px;
214+
}
215+
210216

211217
table.property-table th,
212218
table.property-table td {

0 commit comments

Comments
 (0)