mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Prevent category-drop topic count from wrapping to new line (#8943)
This commit is contained in:
@@ -53,7 +53,8 @@ export default SelectKitRowComponent.extend({
|
||||
link: this.categoryLink,
|
||||
allowUncategorized:
|
||||
this.allowUncategorizedTopics || this.allowUncategorized,
|
||||
hideParent: !!this.parentCategory
|
||||
hideParent: !!this.parentCategory,
|
||||
topicCount: this.topicCount
|
||||
}).htmlSafe();
|
||||
}),
|
||||
|
||||
|
||||
@@ -6,9 +6,6 @@
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
{{badgeForCategory}}
|
||||
<span class="topic-count" aria-label={{i18n "category_row.topic_count" count=topicCount}}>
|
||||
× {{topicCount}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{{#if shouldDisplayDescription}}
|
||||
|
||||
Reference in New Issue
Block a user