From ec26a59eac5a296e5e5c34e5f88b3242aa21f115 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Wed, 5 Dec 2018 10:41:06 +0530 Subject: [PATCH] FIX: variable name typo in subcategory image --- .../discourse/templates/components/categories-boxes.hbs | 6 +++--- app/assets/stylesheets/common/base/category-list.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/categories-boxes.hbs b/app/assets/javascripts/discourse/templates/components/categories-boxes.hbs index f133219f3a7..8635ee68ea3 100644 --- a/app/assets/javascripts/discourse/templates/components/categories-boxes.hbs +++ b/app/assets/javascripts/discourse/templates/components/categories-boxes.hbs @@ -30,10 +30,10 @@ {{cdn-img - src=c.uploaded_logo.url + src=sc.uploaded_logo.url class="logo" - width=c.uploaded_logo.width - height=c.uploaded_logo.height}} + width=sc.uploaded_logo.width + height=sc.uploaded_logo.height}} {{sc.name}} diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss index 82d3556f278..8dcd5ab7f3e 100644 --- a/app/assets/stylesheets/common/base/category-list.scss +++ b/app/assets/stylesheets/common/base/category-list.scss @@ -143,7 +143,7 @@ display: inline-block; margin-right: 0.6em; } - .logo { + .logo img { display: inline-block; height: 20px; width: 20px;