mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
UX: move category logo above navigation
This commit is contained in:
parent
5e8d1549a4
commit
605a302546
2 changed files with 30 additions and 24 deletions
|
@ -1,3 +1,13 @@
|
|||
<section class='category-heading'>
|
||||
{{#if category.logo_url}}
|
||||
{{cdn-img src=category.logo_url class="category-logo"}}
|
||||
{{#if category.description}}
|
||||
<p>{{{category.description}}}</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</section>
|
||||
|
||||
<div class='category-navigation'>
|
||||
{{bread-crumbs categories=categories
|
||||
category=category
|
||||
noSubcategories=noSubcategories
|
||||
|
@ -21,12 +31,4 @@
|
|||
{{#if canEditCategory}}
|
||||
{{d-button class="btn-default edit-category" action="editCategory" actionParam=category icon="wrench" label="category.edit_long"}}
|
||||
{{/if}}
|
||||
|
||||
<section class='category-heading'>
|
||||
{{#if category.logo_url}}
|
||||
{{cdn-img src=category.logo_url class="category-logo"}}
|
||||
{{#if category.description}}
|
||||
<p>{{{category.description}}}</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -289,6 +289,10 @@ button.dismiss-read {
|
|||
}
|
||||
}
|
||||
|
||||
.category-navigation {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.category-logo {
|
||||
max-height: 150px;
|
||||
float: left;
|
||||
|
|
Loading…
Reference in a new issue