mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 16:23:54 +08:00
3a7d2da633
This commit fixes multiple css issues with category badges in select-kit and outside of select-kit. It also contains refactoring of components impacted by those changes.
20 lines
446 B
Handlebars
20 lines
446 B
Handlebars
{{#if headerContent}}<div class="header">{{headerContent}}</div>{{/if}}
|
|
|
|
<div class="body">
|
|
{{#if isLocked}}
|
|
<span class="delete-icon">
|
|
{{d-icon "lock"}}
|
|
</span>
|
|
{{else}}
|
|
<span class="locked-icon" {{action deselect computedContent bubbles=false}}>
|
|
{{d-icon "times"}}
|
|
</span>
|
|
{{/if}}
|
|
|
|
<span class="name">
|
|
{{{label}}}
|
|
</span>
|
|
</div>
|
|
|
|
{{#if footerContent}}<div class="footer">{{footerContent}}</div>{{/if}}
|