FIX: variable name typo in subcategory image

This commit is contained in:
Vinoth Kannan 2018-12-05 10:41:06 +05:30
parent 99117d664c
commit ec26a59eac
2 changed files with 4 additions and 4 deletions

View File

@ -30,10 +30,10 @@
<a class="subcategory" href={{sc.url}}> <a class="subcategory" href={{sc.url}}>
<span class="subcategory-image-placeholder"> <span class="subcategory-image-placeholder">
{{cdn-img {{cdn-img
src=c.uploaded_logo.url src=sc.uploaded_logo.url
class="logo" class="logo"
width=c.uploaded_logo.width width=sc.uploaded_logo.width
height=c.uploaded_logo.height}} height=sc.uploaded_logo.height}}
</span> </span>
<span class="subcategory-link">{{sc.name}}</span> <span class="subcategory-link">{{sc.name}}</span>
</a> </a>

View File

@ -143,7 +143,7 @@
display: inline-block; display: inline-block;
margin-right: 0.6em; margin-right: 0.6em;
} }
.logo { .logo img {
display: inline-block; display: inline-block;
height: 20px; height: 20px;
width: 20px; width: 20px;