mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -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 hasParentCategory}}
|
||||
<div class="category-status">
|
||||
{{badgeForParentCategory}} {{badgeForCategory}}
|
||||
{{badgeForParentCategory}} {{badgeForCategory}}
|
||||
<span class="topic-count">× {{topicCount}}</span>
|
||||
</div>
|
||||
{{else}}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user