mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 12:56:47 +08:00
Merge pull request #2160 from borhub/fix-excessive-li-in-category-breadcrumb
Fix visual bug from excessive LIs being rendered around Category breadcrumbs
This commit is contained in:
commit
88ba80b239
|
@ -1,11 +1,7 @@
|
|||
<li>
|
||||
{{category-drop category=firstCategory categories=parentCategories}}
|
||||
</li>
|
||||
{{category-drop category=firstCategory categories=parentCategories}}
|
||||
|
||||
{{#if childCategories}}
|
||||
<li>
|
||||
{{category-drop category=secondCategory parentCategory=firstCategory categories=childCategories subCategory="true" noSubcategories=noSubcategories}}
|
||||
</li>
|
||||
{{category-drop category=secondCategory parentCategory=firstCategory categories=childCategories subCategory="true" noSubcategories=noSubcategories}}
|
||||
{{/if}}
|
||||
|
||||
<div class='clear'></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user