Skip to content

Commit 8051339

Browse files
Meghan Jonesweiji14
andauthored
Increase minimum thumbnail height in style.css to fit text (#1575)
* Increase min thumbnail height to fit text * Add max-width for image and min-width for container Co-authored-by: Wei Ji <[email protected]>
1 parent eaf2c10 commit 8051339

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

doc/_static/style.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,15 @@ a.copybtn {
209209
text-align: center!important;
210210
}
211211

212+
.sphx-glr-thumbcontainer {
213+
min-height: 240px!important;
214+
min-width: 180px!important;
215+
}
216+
217+
.sphx-glr-thumbcontainer img {
218+
max-width:95%!important;
219+
}
220+
212221
.sphx-glr-single-img {
213222
max-width: 80%!important;
214223
}
@@ -230,13 +239,13 @@ a.copybtn {
230239
.team-img {
231240
border-radius: 0.5rem;
232241
width: 100%;
233-
height: 15vh!important;
242+
height: 20vh!important;
234243
object-fit: cover;
235244
}
236245

237246
.team-card-body {
238247
padding: 1.25rem;
239-
height: 100px;
248+
height: 135px;
240249
}
241250

242251
.team-card-text {

0 commit comments

Comments
 (0)