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'>
|
<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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue