FIX: category badge when using box style on long category names

This commit is contained in:
Joffrey JAFFEUX 2018-01-22 18:26:54 +01:00 committed by GitHub
parent 2352c5ecd5
commit f06f7161ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{{#if category}}
{{#if hasParentCategory}}
<div class="category-status">
{{badgeForParentCategory}}&nbsp;{{badgeForCategory}}
{{badgeForParentCategory}} {{badgeForCategory}}
<span class="topic-count">&times; {{topicCount}}</span>
</div>
{{else}}

View File

@ -2,9 +2,16 @@
.category-row {
.category-status {
display: flex;
flex-wrap: wrap;
align-items: center;
-webkit-box-flex: 0;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
.badge-wrapper.box {
margin-bottom: 1px;
margin-top: 1px;
}
}
}
}