mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: category badge when using box style on long category names
This commit is contained in:
parent
2352c5ecd5
commit
f06f7161ea
@ -1,7 +1,7 @@
|
|||||||
{{#if category}}
|
{{#if category}}
|
||||||
{{#if hasParentCategory}}
|
{{#if hasParentCategory}}
|
||||||
<div class="category-status">
|
<div class="category-status">
|
||||||
{{badgeForParentCategory}} {{badgeForCategory}}
|
{{badgeForParentCategory}} {{badgeForCategory}}
|
||||||
<span class="topic-count">× {{topicCount}}</span>
|
<span class="topic-count">× {{topicCount}}</span>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
@ -2,9 +2,16 @@
|
|||||||
.category-row {
|
.category-row {
|
||||||
.category-status {
|
.category-status {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: 1 1 auto;
|
-ms-flex: 1 1 auto;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
|
|
||||||
|
.badge-wrapper.box {
|
||||||
|
margin-bottom: 1px;
|
||||||
|
margin-top: 1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user