post previews: fix css for captioned post previews.

Captioned post previews (previews with the pool name, similarity, or
size beneath) need to have `height: auto` set, otherwise they'll default
to `height: 154px` (just enough for the image) and the caption won't be visible.
This commit is contained in:
evazion
2018-09-06 20:04:48 -05:00
parent 950fcdb7b2
commit 22c27f8910
2 changed files with 7 additions and 18 deletions

View File

@@ -13,12 +13,14 @@ article.post-preview {
@include inline-block;
}
&.pooled {
height: 214px;
&.captioned {
height: auto;
vertical-align: text-top;
}
.desc {
font-size: 80%;
margin-bottom: 0;
}
img {
@@ -34,19 +36,6 @@ article.post-preview {
}
}
#iqdb-similar {
overflow: hidden;
.post-preview {
height: auto;
margin-bottom: 0;
}
p {
margin-bottom: 0;
}
}
#saved-searches-nav {
margin-top: 1em;
}