post previews: fix thumbnail width/height outside post index.

Normally thumbnails have a fixed size of 154x154, but that's not always
desirable outside of the posts index because it creates empty gaps
around thumbnails.
This commit is contained in:
evazion
2019-10-14 21:16:04 -05:00
parent 5b0c77d126
commit f7116ad1c4
5 changed files with 9 additions and 4 deletions

View File

@@ -74,7 +74,6 @@ $tooltip-width: 164px * 3 - 10; // 3 thumbnails wide.
article.post-preview {
margin: 0 8px 0 0;
height: auto;
}
}

View File

@@ -42,6 +42,11 @@ article.post-preview {
vertical-align: text-top;
}
&.post-preview-compact {
width: auto;
height: auto;
}
.desc {
font-size: 80%;
margin-bottom: 0;