TWEAK: Add the category description beside the logo, if present.
This commit is contained in:
parent
914f0c3512
commit
2e0832fa71
|
@ -25,5 +25,8 @@
|
|||
<section class='category-heading'>
|
||||
{{#if category.logo_url}}
|
||||
<img {{bind-attr src=category.logo_url}} class="category-logo">
|
||||
{{#if category.description}}
|
||||
<p>{{category.description}}</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
|
@ -285,9 +285,14 @@ button.dismiss-read {
|
|||
|
||||
.category-heading {
|
||||
clear: both;
|
||||
p {
|
||||
line-height: 1.5em;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
.category-logo {
|
||||
max-height: 150px;
|
||||
float: left;
|
||||
margin-bottom: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue