Skip to content

Commit

Permalink
Increase minimum thumbnail height in style.css to fit text (#1575)
Browse files Browse the repository at this point in the history
* Increase min thumbnail height to fit text

* Add max-width for image and min-width for container

Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
  • Loading branch information
maxrjones and weiji14 authored Oct 22, 2021
1 parent eaf2c10 commit 8051339
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,15 @@ a.copybtn {
text-align: center!important;
}

.sphx-glr-thumbcontainer {
min-height: 240px!important;
min-width: 180px!important;
}

.sphx-glr-thumbcontainer img {
max-width:95%!important;
}

.sphx-glr-single-img {
max-width: 80%!important;
}
Expand All @@ -230,13 +239,13 @@ a.copybtn {
.team-img {
border-radius: 0.5rem;
width: 100%;
height: 15vh!important;
height: 20vh!important;
object-fit: cover;
}

.team-card-body {
padding: 1.25rem;
height: 100px;
height: 135px;
}

.team-card-text {
Expand Down

0 comments on commit 8051339

Please sign in to comment.