TWEAK: Add the category description beside the logo, if present.

This commit is contained in:
Robin Ward 2014-07-04 15:35:02 -04:00
parent 914f0c3512
commit 2e0832fa71
2 changed files with 8 additions and 0 deletions

View File

@ -25,5 +25,8 @@
<section class='category-heading'> <section class='category-heading'>
{{#if category.logo_url}} {{#if category.logo_url}}
<img {{bind-attr src=category.logo_url}} class="category-logo"> <img {{bind-attr src=category.logo_url}} class="category-logo">
{{#if category.description}}
<p>{{category.description}}</p>
{{/if}}
{{/if}} {{/if}}
</section> </section>

View File

@ -285,9 +285,14 @@ button.dismiss-read {
.category-heading { .category-heading {
clear: both; clear: both;
p {
line-height: 1.5em;
font-size: 1.5em;
}
} }
.category-logo { .category-logo {
max-height: 150px; max-height: 150px;
float: left; float: left;
margin-bottom: 15px; margin-bottom: 15px;
margin-right: 15px;
} }