Adding max-width to category logos

This commit is contained in:
Kris 2018-12-04 13:01:27 -05:00
parent e117deb2ba
commit 28ddaf80d2
2 changed files with 4 additions and 2 deletions

View File

@ -235,8 +235,9 @@ button.dismiss-read {
.category-logo.aspect-image {
--max-height: 150px;
max-height: var(--max-height);
width: calc(var(--max-height) * var(--aspect-ratio));
max-width: 60%;
height: auto;
width: calc(var(--max-height) * var(--aspect-ratio));
img {
width: 100%;

View File

@ -273,9 +273,10 @@ tr.category-topic-link {
border-top: 1px solid;
h3 {
max-width: 100%;
display: inline-block;
font-size: $font-up-2;
margin: 0 0 0 10px;
padding: 0 0 0 10px;
.d-icon {
margin-right: 5px;
}